org.jbind.xml.schema.element
Class ConstantResolver
java.lang.Object
org.jbind.xml.schema.element.ConstantResolver
- public class ConstantResolver
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getFormType
public static FormType getFormType(java.lang.String aString,
IHasLocation aHasLocation)
throws XmlException
- Throws:
XmlException
getBlockTypes
public static java.util.Set getBlockTypes(java.lang.String aString,
IHasLocation aHasLocation)
throws XmlException
- Throws:
XmlException
getFinalTypes
public static java.util.Set getFinalTypes(java.lang.String aString,
IHasLocation aHasLocation)
throws XmlException
- Gets the final types encoded in the specified string.
- Parameters:
aString
- (required). Either the string "#all" or
a string containing 0 or more of "extension", "restriction",
"list", or "union".aHasLocation
- (required). Used for the vioalation message
in case that an invalid string is supplied.
- Returns:
- (required). A set of
FinalType
s.
- Throws:
XmlException
getProcessContents
public static ProcessContentsType getProcessContents(java.lang.String aString,
IHasLocation aHasLocation)
throws XmlException
- Throws:
XmlException
getOccurence
public static AttributeOccurence getOccurence(java.lang.String aString,
IHasLocation aHasLocation)
throws XmlException
- Throws:
XmlException