com.jaxfront.core.schema.impl
Class TreeWalkingElementAnalyser

java.lang.Object
  extended by 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:

Version:
1.60

Constructor Summary
TreeWalkingElementAnalyser(SchemaNode schemaElement)
          Creates a TreeWalkingElementAnalyser based on a XMLSchema and a context schema element.
 
Method Summary
 java.util.Vector analyseAttributes()
          Analyse the attributes for the current context.
 java.util.Stack getCallStack()
           
 java.util.Vector getCurrentTypesToResolve()
           
static short[] increaseArray(short[] values)
           
 boolean isAnalysingGlobalType()
           
 java.lang.String printId(short[] id)
           
 void resetCurrentTypesToResolve()
           
 void setCurrentTypesToResolve(java.util.Vector types)
           
 void setIsAnalysingGlobalType(boolean isAnalysingGlobalType)
           
 boolean startsWith(short[] source, short[] width)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreeWalkingElementAnalyser

public TreeWalkingElementAnalyser(SchemaNode schemaElement)
Creates a TreeWalkingElementAnalyser based on a XMLSchema and a context schema element.

Parameters:
schema - an XML Schema
schemaElement - element to analyse (context)
Method Detail

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()