edu.ogi.cse.xs.xsd.xerces
Class XercesXSInstanceImpl

java.lang.Object
  extended by edu.ogi.cse.xs.xsd.xerces.XercesXSInstanceImpl
All Implemented Interfaces:
XSInstance, java.io.Serializable

public class XercesXSInstanceImpl
extends java.lang.Object
implements XSInstance

represent an XML schema

See Also:
Serialized Form

Constructor Summary
XercesXSInstanceImpl(java.lang.String xsdpath, java.lang.String topElemName)
           
 
Method Summary
 boolean edgeMapping(SimplePath sp)
           
 SimplePath getClobMappingAncestor(SimplePath sp)
           
 XSComplexElement getComplexElement(SimplePath sp)
           
 SimplePath getEdgeMappingAncestor(SimplePath sp)
           
 java.util.List getElementsOfAnyType()
           
 java.lang.String getFileName()
           
 java.lang.String getFilePath()
           
 int getIdentityScheme()
           
 java.lang.String getName()
           
 XSSimpleElement getSimpleElement(SimplePath sp)
           
 XSComplexElement getTopElement()
           
 boolean isAnyType(SimplePath sp)
           
 boolean isComplexElement(SimplePath sp)
           
 boolean isInRecursivePath(SimplePath sp)
           
 boolean isSimpleElement(SimplePath sp)
           
static void main(java.lang.String[] args)
           
 boolean mappedToClob(SimplePath sp)
           
 boolean mayAppearInMultiTable(SimplePath sp)
           
 boolean mayHaveMultipleParents(SimplePath sp)
           
 boolean partOfClobMapping(SimplePath sp)
           
 boolean partOfEdgeMapping(SimplePath sp)
           
 java.lang.String toString()
           
 java.lang.String validateAnnotation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XercesXSInstanceImpl

public XercesXSInstanceImpl(java.lang.String xsdpath,
                            java.lang.String topElemName)
Method Detail

getFilePath

public java.lang.String getFilePath()
Specified by:
getFilePath in interface XSInstance

getFileName

public java.lang.String getFileName()
Specified by:
getFileName in interface XSInstance

getName

public java.lang.String getName()
Specified by:
getName in interface XSInstance

isComplexElement

public boolean isComplexElement(SimplePath sp)
Specified by:
isComplexElement in interface XSInstance

isSimpleElement

public boolean isSimpleElement(SimplePath sp)
Specified by:
isSimpleElement in interface XSInstance

getComplexElement

public XSComplexElement getComplexElement(SimplePath sp)
Specified by:
getComplexElement in interface XSInstance

getSimpleElement

public XSSimpleElement getSimpleElement(SimplePath sp)
Specified by:
getSimpleElement in interface XSInstance

getTopElement

public XSComplexElement getTopElement()
Specified by:
getTopElement in interface XSInstance

getIdentityScheme

public int getIdentityScheme()
Specified by:
getIdentityScheme in interface XSInstance

mappedToClob

public boolean mappedToClob(SimplePath sp)
Specified by:
mappedToClob in interface XSInstance

edgeMapping

public boolean edgeMapping(SimplePath sp)
Specified by:
edgeMapping in interface XSInstance

getClobMappingAncestor

public SimplePath getClobMappingAncestor(SimplePath sp)
Specified by:
getClobMappingAncestor in interface XSInstance

getEdgeMappingAncestor

public SimplePath getEdgeMappingAncestor(SimplePath sp)
Specified by:
getEdgeMappingAncestor in interface XSInstance

partOfClobMapping

public boolean partOfClobMapping(SimplePath sp)
Specified by:
partOfClobMapping in interface XSInstance

partOfEdgeMapping

public boolean partOfEdgeMapping(SimplePath sp)
Specified by:
partOfEdgeMapping in interface XSInstance

mayAppearInMultiTable

public boolean mayAppearInMultiTable(SimplePath sp)
Specified by:
mayAppearInMultiTable in interface XSInstance

isInRecursivePath

public boolean isInRecursivePath(SimplePath sp)
Specified by:
isInRecursivePath in interface XSInstance

mayHaveMultipleParents

public boolean mayHaveMultipleParents(SimplePath sp)
Specified by:
mayHaveMultipleParents in interface XSInstance

isAnyType

public boolean isAnyType(SimplePath sp)

getElementsOfAnyType

public java.util.List getElementsOfAnyType()

toString

public java.lang.String toString()
Specified by:
toString in interface XSInstance
Overrides:
toString in class java.lang.Object

validateAnnotation

public java.lang.String validateAnnotation()
Specified by:
validateAnnotation in interface XSInstance

main

public static void main(java.lang.String[] args)