public interface SchemaGenerationHandler
Modifier and Type | Method and Description |
---|---|
void |
endRefTraversal(java.lang.String refName)
Called when a rng:ref element is completely traversed.
|
boolean |
ignoreErrorInConstructingProperty(java.lang.String ns,
java.lang.String localName,
RNGParseException ex)
Reports if a RNGParseException is raised while trying to create a
PropertyDescription from RNG schema. |
void |
startPropertyConstruction(java.lang.String ns,
java.lang.String localName,
java.lang.String prefix)
Called before constructing a property
|
void |
startRefTraversal(java.lang.String refName)
Called when a new rng:ref element is encountered.
|
void |
startSchemaConstruction(java.lang.String ns,
java.lang.String prefix)
Called before constructing schema
|
void startRefTraversal(java.lang.String refName)
refName
- void endRefTraversal(java.lang.String refName)
refName
- void startSchemaConstruction(java.lang.String ns, java.lang.String prefix)
ns
- Namespace of schemaprefix
- Prefix of schema as defined in RelaxNG schemasvoid startPropertyConstruction(java.lang.String ns, java.lang.String localName, java.lang.String prefix)
ns
- Namespace of propertylocalName
- Name of propertyprefix
- Prefix of property as defined in RelaxNG schemasboolean ignoreErrorInConstructingProperty(java.lang.String ns, java.lang.String localName, RNGParseException ex)
PropertyDescription
from RNG schema.ns
- Property namespacelocalName
- Property's localnameex
- RNGParseException
raised while constructing the propertyfalse
if this parsing is to be discontinued, true
if the error for this
property is to be ignored while constructing the schemaCopyright © 2010 - 2020 Adobe. All Rights Reserved