|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.saxonica.schema.SchemaStructure
public abstract class SchemaStructure
The base class for all XML Schema stuctures. Generally represents a schema component in the sense of the XML Schema specification, though the correspondence is not always one to one. Maintains information about the location of the schema construct in an XML Schema document, for diagnostic purposes.
Constructor Summary | |
---|---|
SchemaStructure()
|
Method Summary | |
---|---|
void |
elaborate(SchemaCompiler compiler)
Elaborate the schema component: after reloading a serialized schema component model, this expands the component with derived information needed during validation episodes. |
boolean |
fixup(SchemaCompiler compiler)
Fixup references from this schema component to others |
int |
getColumnNumber()
Get the column number of the element defining this schema component. |
EnterpriseConfiguration |
getConfiguration()
Get the schema containing this structure |
int |
getFixupStatus()
Get the current fixup status |
int |
getLineNumber()
Get the line number of the element defining this schema component, within its module. |
String |
getPublicId()
Get the public ID of the containing module, if known. |
int |
getRedefinitionLevel()
Get the redefinition level. |
String |
getSystemId()
Get the system identifier (URI) of the schema module (XML document) containing the definition of this component. |
int |
getValidationStatus()
Get the current validation status |
void |
lookForCycles(Stack references,
SchemaCompiler compiler)
This method is called to look for cycles. |
void |
setConfiguration(EnterpriseConfiguration config)
Set the configuration containing this structure |
void |
setFixupStatus(int status)
Set the fixup status |
void |
setLineNumber(int lineNumber)
Set the line number |
void |
setLocator(SourceLocator locator)
Set the location information for this schema component. |
void |
setRedefinitionLevel(int level)
Set the redefinition level. |
void |
setSystemId(String systemId)
Set the system Id |
void |
setValidationStatus(int status)
Set the validation status |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaStructure()
Method Detail |
---|
public String getSystemId()
getSystemId
in interface SourceLocator
public String getPublicId()
getPublicId
in interface SourceLocator
public int getLineNumber()
getLineNumber
in interface SourceLocator
public int getColumnNumber()
getColumnNumber
in interface SourceLocator
public void setLocator(SourceLocator locator)
locator
- the location information.public void setSystemId(String systemId)
public void setLineNumber(int lineNumber)
public int getValidationStatus()
public void setValidationStatus(int status)
public int getFixupStatus()
public void setFixupStatus(int status)
public void setConfiguration(EnterpriseConfiguration config)
public EnterpriseConfiguration getConfiguration()
public void setRedefinitionLevel(int level)
level
- the redefinition levelpublic int getRedefinitionLevel()
public void lookForCycles(Stack references, SchemaCompiler compiler) throws SchemaException, UnresolvedReferenceException
references
- A stack of objects that contain direct or indirect references
to this object, and that must therefore not be referred to from this object.compiler
-
SchemaException
UnresolvedReferenceException
public boolean fixup(SchemaCompiler compiler) throws SchemaException
compiler
- the SchemaCompiler, used primarily for reporting errors
SchemaException
public void elaborate(SchemaCompiler compiler) throws SchemaException
compiler
-
SchemaException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |