Package com.sun.tools.rngom.digested
Class DAnnotation.Attribute
- java.lang.Object
-
- com.sun.tools.rngom.digested.DAnnotation.Attribute
-
- Enclosing class:
- DAnnotation
public static class DAnnotation.Attribute extends Object
Attribute.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocatorgetLoc()Gets the location in the source schema file where this annotation was present.StringgetLocalName()Gets the local name of this attribute.StringgetNs()Gets the namespace URI of this attribute.StringgetPrefix()Gets the prefix of thie attribute.StringgetValue()Gets the attribute value.
-
-
-
Method Detail
-
getNs
public String getNs()
Gets the namespace URI of this attribute.- Returns:
- can be empty (to represent the default namespace), but never null.
-
getLocalName
public String getLocalName()
Gets the local name of this attribute.- Returns:
- always non-null.
-
getPrefix
public String getPrefix()
Gets the prefix of thie attribute.- Returns:
- null if this attribute didn't have a prefix.
-
getValue
public String getValue()
Gets the attribute value.- Returns:
- never null.
-
getLoc
public Locator getLoc()
Gets the location in the source schema file where this annotation was present.- Returns:
- never null.
-
-