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 String
ERR_UNDEFINED_NAMESPACE
static String
ERR_UNEXPORTED_ATTRIBUTE_DECL
static String
ERR_UNEXPORTED_ELEMENT_DECL
static String
ERR_UNSUPPROTED_ATTRIBUTES_IMPORT
protected ErrorHandler
errorHandler
protected org.iso_relax.dispatcher.SchemaProvider
provider
-
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 String
localize(String prop)
String
localize(String prop, Object arg1)
String
localize(String propertyName, Object[] args)
localizes messages.String
localize(String prop, Object arg1, Object arg2)
Expression
onAttribute(AttributeExp exp)
Expression
onElement(ElementExp exp)
Expression
onOther(OtherExp exp)
Expression
onRef(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.
-
-