Package gov.nasa.pds.validate.util
Class Namespace
java.lang.Object
gov.nasa.pds.validate.util.Namespace
public class Namespace extends Object
Java class for Namespace complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Namespace"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute ref="{}prefix use="required""/> <attribute ref="{}uri use="required""/> <attribute ref="{}default"/> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Namespace()
-
Method Summary
Modifier and Type Method Description String
getPrefix()
Gets the value of the prefix property.String
getUri()
Gets the value of the uri property.boolean
isDefault()
Gets the value of the default property.void
setDefault(Boolean value)
Sets the value of the default property.void
setPrefix(String value)
Sets the value of the prefix property.void
setUri(String value)
Sets the value of the uri property.
-
Field Details
-
prefix
-
uri
-
_default
-
-
Constructor Details
-
Namespace
public Namespace()
-
-
Method Details
-
getPrefix
Gets the value of the prefix property.- Returns:
- possible object is
String
-
setPrefix
Sets the value of the prefix property.- Parameters:
value
- allowed object isString
-
getUri
Gets the value of the uri property.- Returns:
- possible object is
String
-
setUri
Sets the value of the uri property.- Parameters:
value
- allowed object isString
-
isDefault
public boolean isDefault()Gets the value of the default property.- Returns:
- possible object is
Boolean
-
setDefault
Sets the value of the default property.- Parameters:
value
- allowed object isBoolean
-