|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.saxonica.schema.SchemaStructure
com.saxonica.schema.Notation
An XML Schema Notation
Field Summary |
Fields inherited from interface net.sf.saxon.type.SchemaComponent |
FIXED_UP, INCOMPLETE, INVALID, UNVALIDATED, VALIDATED, VALIDATING |
Constructor Summary | |
Notation(PreparedSchema schema,
javax.xml.transform.SourceLocator locator)
Creates a new Notation |
Method Summary | |
boolean |
fixup(PreparedSchema schema)
Check references from this component to other components |
java.util.Iterator |
getComponentReferences()
Get the component references from this component to other components. |
java.util.Iterator |
getContainedComponents()
Get the components that are immediately contained within this component. |
int |
getFingerprint()
|
java.lang.String |
getName()
Returns the name of this Notation. |
java.lang.String |
getNotationPublicId()
Get the public Id of the notation |
java.lang.String |
getNotationSystemId()
Get the system Id of the notation |
void |
setFingerprint(int fingerprint)
Set the fingerprint of the notation |
void |
setName(java.lang.String name)
Set the name of the notation |
void |
setNotationPublicId(java.lang.String publicId)
|
void |
setNotationSystemId(java.lang.String systemId)
|
boolean |
validate(PreparedSchema schema)
Checks the validity of this Notation. |
Methods inherited from class com.saxonica.schema.SchemaStructure |
getColumnNumber, getFixupStatus, getLineNumber, getPublicId, getSchema, getSystemId, getValidationStatus, lookForCycles, setFixupStatus, setLineNumber, setLocator, setSchema, setSystemId, setValidationStatus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.saxonica.schema.UserSchemaComponent |
lookForCycles |
Methods inherited from interface net.sf.saxon.type.SchemaComponent |
getValidationStatus |
Constructor Detail |
public Notation(PreparedSchema schema, javax.xml.transform.SourceLocator locator)
schema
- the XML Schema to which this Notation
belongsMethod Detail |
public void setName(java.lang.String name)
public void setFingerprint(int fingerprint)
public int getFingerprint()
public void setNotationSystemId(java.lang.String systemId)
public void setNotationPublicId(java.lang.String publicId)
public java.lang.String getNotationSystemId()
public java.lang.String getNotationPublicId()
public java.lang.String getName()
public boolean validate(PreparedSchema schema) throws SchemaException
validate
in interface UserSchemaComponent
schema
- if this is not null, any errors that are detected should
be reported using the error() method of this schema.
SchemaException
public boolean fixup(PreparedSchema schema) throws SchemaException
fixup
in interface UserSchemaComponent
schema
- The schema is used for reporting errors
SchemaException
public java.util.Iterator getContainedComponents()
public java.util.Iterator getComponentReferences()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |