Package com.sun.msv.relaxns.verifier
Class IslandSchemaImpl.Binder
- java.lang.Object
-
- com.sun.msv.grammar.ExpressionCloner
-
- com.sun.msv.relaxns.verifier.IslandSchemaImpl.Binder
-
- All Implemented Interfaces:
ExpressionVisitorExpression
- Enclosing class:
- IslandSchemaImpl
public static class IslandSchemaImpl.Binder extends ExpressionCloner
replaces all ExternalElementExp and ExternalAttributeExp by actual definitions. these two expressions forms the fundamental mechanism of schema interaction.
-
-
Field Summary
Fields Modifier and Type Field Description static StringERR_UNDEFINED_NAMESPACEstatic StringERR_UNEXPORTED_ATTRIBUTE_DECLstatic StringERR_UNEXPORTED_ELEMENT_DECLstatic StringERR_UNSUPPROTED_ATTRIBUTES_IMPORTprotected ErrorHandlererrorHandlerprotected org.iso_relax.dispatcher.SchemaProviderprovider-
Fields inherited from class com.sun.msv.grammar.ExpressionCloner
pool
-
-
Constructor Summary
Constructors Constructor Description Binder(org.iso_relax.dispatcher.SchemaProvider provider, ErrorHandler errorHandler, ExpressionPool pool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringlocalize(String prop)Stringlocalize(String prop, Object arg1)Stringlocalize(String propertyName, Object[] args)localizes messages.Stringlocalize(String prop, Object arg1, Object arg2)ExpressiononAttribute(AttributeExp exp)ExpressiononElement(ElementExp exp)ExpressiononOther(OtherExp exp)ExpressiononRef(ReferenceExp exp)-
Methods inherited from class com.sun.msv.grammar.ExpressionCloner
onAnyString, onChoice, onConcur, onData, onEpsilon, onInterleave, onList, onMixed, onNullSet, onOneOrMore, onSequence, onValue
-
-
-
-
Field Detail
-
provider
protected final org.iso_relax.dispatcher.SchemaProvider provider
-
errorHandler
protected final ErrorHandler errorHandler
-
ERR_UNEXPORTED_ELEMENT_DECL
public static final String ERR_UNEXPORTED_ELEMENT_DECL
- See Also:
- Constant Field Values
-
ERR_UNDEFINED_NAMESPACE
public static final String ERR_UNDEFINED_NAMESPACE
- See Also:
- Constant Field Values
-
ERR_UNEXPORTED_ATTRIBUTE_DECL
public static final String ERR_UNEXPORTED_ATTRIBUTE_DECL
- See Also:
- Constant Field Values
-
ERR_UNSUPPROTED_ATTRIBUTES_IMPORT
public static final String ERR_UNSUPPROTED_ATTRIBUTES_IMPORT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Binder
public Binder(org.iso_relax.dispatcher.SchemaProvider provider, ErrorHandler errorHandler, ExpressionPool pool)
-
-
Method Detail
-
onAttribute
public Expression onAttribute(AttributeExp exp)
-
onRef
public Expression onRef(ReferenceExp exp)
-
onOther
public Expression onOther(OtherExp exp)
-
onElement
public Expression onElement(ElementExp exp)
-
localize
public String localize(String propertyName, Object[] args)
localizes messages. derived class can override this method to provide schema languagespecific error messages.
-
-