|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.saxonica.schema.SchemaStructure com.saxonica.schema.Notation
public class 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(SchemaAwareConfiguration config,
SourceLocator locator)
Creates a new Notation |
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)
Check references from this component to other components |
Iterator |
getComponentReferences()
Get the component references from this component to other components. |
Iterator |
getContainedComponents()
Get the components that are immediately contained within this component. |
int |
getFingerprint()
|
String |
getName()
Return the local name of this Notation. |
String |
getNotationPublicId()
Get the public Id of the notation |
String |
getNotationSystemId()
Get the system Id 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)
|
void |
setNotationSystemId(String systemId)
|
boolean |
validate(SchemaCompiler compiler)
Checks the validity of this Notation. |
Methods inherited from class com.saxonica.schema.SchemaStructure |
---|
getColumnNumber, getConfiguration, getFixupStatus, getLineNumber, getPublicId, getSystemId, getValidationStatus, lookForCycles, setConfiguration, setFixupStatus, setLineNumber, setLocator, setSystemId, setValidationStatus |
Methods inherited from class java.lang.Object |
---|
equals, 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(SchemaAwareConfiguration config, SourceLocator locator)
config
- the Configuration to which this Notation belongsMethod Detail |
---|
public void setNameCode(int nameCode)
public int getFingerprint()
public void setNotationSystemId(String systemId)
public void setNotationPublicId(String publicId)
public String getNotationSystemId()
public String getNotationPublicId()
public String getName()
public String getTargetNamespace()
public boolean validate(SchemaCompiler compiler) throws SchemaException
validate
in interface UserSchemaComponent
SchemaException
public boolean fixup(SchemaCompiler compiler) throws SchemaException
fixup
in interface UserSchemaComponent
fixup
in class SchemaStructure
compiler
-
SchemaException
public Iterator getContainedComponents()
public Iterator getComponentReferences()
public void elaborate() throws SchemaException
elaborate
in interface UserSchemaComponent
elaborate
in class SchemaStructure
SchemaException
public void serialize(SchemaModelSerializer serializer) throws XPathException
serialize
in interface SerializableSchemaComponent
XPathException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |