|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.saxonica.schema.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 | |
int |
getColumnNumber()
Get the column number of the element defining this schema component. |
int |
getFixupStatus()
Get the current fixup status |
int |
getLineNumber()
Get the line number of the element defining this schema component, within its module. |
java.lang.String |
getPublicId()
Get the public ID of the containing module, if known. |
PreparedSchema |
getSchema()
Get the schema containing this structure |
java.lang.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(PreparedSchema schema,
java.util.Stack references)
This method is called to look for cycles. |
void |
setFixupStatus(int status)
Set the fixup status |
void |
setLineNumber(int lineNumber)
Set the line number |
void |
setLocator(javax.xml.transform.SourceLocator locator)
Set the location information for this schema component. |
void |
setSchema(PreparedSchema schema)
Set the schema containing this structure |
void |
setSystemId(java.lang.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 java.lang.String getSystemId()
getSystemId
in interface javax.xml.transform.SourceLocator
public java.lang.String getPublicId()
getPublicId
in interface javax.xml.transform.SourceLocator
public int getLineNumber()
getLineNumber
in interface javax.xml.transform.SourceLocator
public int getColumnNumber()
getColumnNumber
in interface javax.xml.transform.SourceLocator
public void setLocator(javax.xml.transform.SourceLocator locator)
locator
- the location information.public void setSystemId(java.lang.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 setSchema(PreparedSchema schema)
public PreparedSchema getSchema()
public void lookForCycles(PreparedSchema schema, java.util.Stack references) throws SchemaException, UnresolvedReferenceException
schema
- 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.
SchemaException
UnresolvedReferenceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |