|
|||||||||
| 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
public class Notation
A Notation Declaration Schema Component
| Field Summary |
|---|
| Fields inherited from interface net.sf.saxon.type.SchemaComponent |
|---|
FIXED_UP, INCOMPLETE, INVALID, UNVALIDATED, VALIDATED, VALIDATING |
| Constructor Summary | |
|---|---|
Notation(EnterpriseConfiguration config,
SourceLocator locator)
Creates a new Notation |
|
| 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)
Check references from this component to other components |
int |
getFingerprint()
Get the notation name |
String |
getName()
Return the local name of this Notation. |
String |
getNotationPublicId()
Get the public identifier of the notation |
String |
getNotationSystemId()
Get the system identifier of the notation |
String |
getTargetNamespace()
Return the target namespace of this Notation |
void |
serialize(SchemaModelSerializer serializer)
Serialize the schema component |
void |
setNameCode(int nameCode)
Set the name code of the notation |
void |
setNotationPublicId(String publicId)
Set the public identifier of the notation |
void |
setNotationSystemId(String systemId)
Set the system identifier of the notation |
boolean |
validate(SchemaCompiler compiler)
Checks the validity of this Notation. |
| Methods inherited from class com.saxonica.schema.SchemaStructure |
|---|
getColumnNumber, getConfiguration, getFixupStatus, getLineNumber, getPublicId, getRedefinitionLevel, getSchemaDocumentURI, getSystemId, getValidationStatus, lookForCycles, setConfiguration, setFixupStatus, setLineNumber, setLocator, setRedefinitionLevel, setSchemaDocumentURI, 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 |
|---|
getRedefinitionLevel, getValidationStatus |
| Constructor Detail |
|---|
public Notation(EnterpriseConfiguration config,
SourceLocator locator)
config - the Configuration to which this Notation belongslocator - the location of the declaration in the schema document| Method Detail |
|---|
public void setNameCode(int nameCode)
nameCode - the NamePool code for the notation namepublic int getFingerprint()
public void setNotationSystemId(String systemId)
systemId - the system identifier (possibly null)\public void setNotationPublicId(String publicId)
publicId - the public identifier (possibly null)\public String getNotationSystemId()
public String getNotationPublicId()
public String getName()
public String getTargetNamespace()
public boolean validate(SchemaCompiler compiler)
validate in interface UserSchemaComponent
public boolean fixup(SchemaCompiler compiler)
throws SchemaException
fixup in interface UserSchemaComponentfixup in class SchemaStructurecompiler - the schema compiler
SchemaExceptionpublic void elaborate(SchemaCompiler compiler)
elaborate in interface UserSchemaComponentelaborate in class SchemaStructurecompiler - The schema compiler
public void serialize(SchemaModelSerializer serializer)
throws XPathException
serialize in interface SerializableSchemaComponentserializer - the object responsible for performing the serialization
XPathException - if serialization fails
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||