|
|||||||
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()
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. |
SchemaAwareConfiguration |
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. |
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(SchemaAwareConfiguration 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 |
setSystemId(String systemId)
Set the system Id |
void |
setValidationStatus(int status)
Set the validation status |
Methods inherited from class java.lang.Object |
---|
equals, 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(SchemaAwareConfiguration config)
public SchemaAwareConfiguration getConfiguration()
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
SchemaException
public void elaborate() throws SchemaException
SchemaException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |