com.virtualweaver.xotics.datamodel.datatype
Class XsdQName
java.lang.Object
com.virtualweaver.xotics.datamodel.datatype.XsdAnySimpleType
com.virtualweaver.xotics.datamodel.datatype.XsdString
com.virtualweaver.xotics.datamodel.datatype.XsdQName
- All Implemented Interfaces:
- java.lang.Cloneable, XoDataType, XsdDataType
- public class XsdQName
- extends XsdString
Field Summary |
static java.lang.String |
NAME
|
Constructor Summary |
XsdQName(java.lang.String v)
|
Method Summary |
java.lang.Object |
clone()
|
static java.lang.Object |
createValue(java.lang.String strv)
|
java.lang.String |
getLocalName()
Returns the local name of the datatype. this method is used to identify
any XSD datatype by a string, i.e. for instanciation in XPath requests. |
XsdNCName |
getLocalPart()
Getter for property localPart. |
XsdNCName |
getPrefix()
Getter for property prefix. |
Methods inherited from class com.virtualweaver.xotics.datamodel.datatype.XsdAnySimpleType |
equals, getAsString, getFractionDigit, getJavaTypeValue, getLength, getMaxExclusive, getMaxInclusive, getMinExclusive, getMinInclusive, getNameSpace, getPattern, getTotalDigit, getWhiteSpace, matchFractionDigit, matchLength, matchMaxExclusive, matchMaxInclusive, matchMaxLength, matchMinExclusive, matchMinInclusive, matchMinLength, matchPattern, matchTotalDigit, toString, whiteSpace |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAME
public static java.lang.String NAME
XsdQName
public XsdQName(java.lang.String v)
throws java.lang.IllegalArgumentException
createValue
public static java.lang.Object createValue(java.lang.String strv)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
clone
public java.lang.Object clone()
- Overrides:
clone
in class XsdString
getPrefix
public XsdNCName getPrefix()
- Getter for property prefix.
- Returns:
- Value of property prefix.
getLocalPart
public XsdNCName getLocalPart()
- Getter for property localPart.
- Returns:
- Value of property localPart or null if no prefix.
getLocalName
public java.lang.String getLocalName()
- Description copied from interface:
XsdDataType
- Returns the local name of the datatype. this method is used to identify
any XSD datatype by a string, i.e. for instanciation in XPath requests.
- Specified by:
getLocalName
in interface XsdDataType
- Overrides:
getLocalName
in class XsdString