public interface SchemaGenerationHandler
Modifier and Type | Method and Description |
---|---|
void |
endRefTraversal(String refName)
Called when a rng:ref element is completely traversed.
|
boolean |
ignoreErrorInConstructingProperty(String ns,
String localName,
RNGParseException ex)
Reports if a RNGParseException is raised while trying to create a
PropertyDescription from RNG schema. |
void |
startPropertyConstruction(String ns,
String localName,
String prefix)
Called before constructing a property
|
void |
startRefTraversal(String refName)
Called when a new rng:ref element is encountered.
|
void |
startSchemaConstruction(String ns,
String prefix)
Called before constructing schema
|
void startRefTraversal(String refName)
refName
- void endRefTraversal(String refName)
refName
- void startSchemaConstruction(String ns, String prefix)
ns
- Namespace of schemaprefix
- Prefix of schema as defined in RelaxNG schemasvoid startPropertyConstruction(String ns, String localName, String prefix)
ns
- Namespace of propertylocalName
- Name of propertyprefix
- Prefix of property as defined in RelaxNG schemasboolean ignoreErrorInConstructingProperty(String ns, 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