com.jaxfront.core.schema.impl
Class TreeWalkingElementAnalyser
java.lang.Object
com.jaxfront.core.schema.impl.TreeWalkingElementAnalyser
public class TreeWalkingElementAnalyser
- extends java.lang.Object
Analyses the XML Schema DOM. Every XML Schema Element gets typed to one of the
six JAXFront Types:
- SimpleType (leaf node defining a primitive data type)<\li>
- SimpleGroup (holding a group of simple types or simpleTypeLists)<\li>
- ComplexGroup (holding another complex group in combination with any other simpleGroups/Lists)<\li>
- SimpleTypeList (a mutable collection of simpleTypes)<\li>
- SimpleGroupList (a mutable collection of simpleGroups)<\li>
- ComplexGroupList (a mutable collection of complexGroups)<\li>
- Version:
- 1.60
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TreeWalkingElementAnalyser
public TreeWalkingElementAnalyser(SchemaNode schemaElement)
- Creates a TreeWalkingElementAnalyser based on a XMLSchema and a context schema element.
- Parameters:
schema
- an XML SchemaschemaElement
- element to analyse (context)
analyseAttributes
public java.util.Vector analyseAttributes()
- Analyse the attributes for the current context.
getCurrentTypesToResolve
public java.util.Vector getCurrentTypesToResolve()
resetCurrentTypesToResolve
public void resetCurrentTypesToResolve()
setCurrentTypesToResolve
public void setCurrentTypesToResolve(java.util.Vector types)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
increaseArray
public static short[] increaseArray(short[] values)
startsWith
public boolean startsWith(short[] source,
short[] width)
getCallStack
public java.util.Stack getCallStack()
printId
public java.lang.String printId(short[] id)
setIsAnalysingGlobalType
public void setIsAnalysingGlobalType(boolean isAnalysingGlobalType)
isAnalysingGlobalType
public boolean isAnalysingGlobalType()