com.sun.msv.relaxns.verifier
Class IslandSchemaImpl.Binder

java.lang.Object
  extended by com.sun.msv.grammar.ExpressionCloner
      extended by 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
static String ERR_UNDEFINED_NAMESPACE
           
static String ERR_UNEXPORTED_ATTRIBUTE_DECL
           
static String ERR_UNEXPORTED_ELEMENT_DECL
           
static String ERR_UNSUPPROTED_ATTRIBUTES_IMPORT
           
 
Constructor Summary
IslandSchemaImpl.Binder(SchemaProvider provider, ErrorHandler errorHandler, ExpressionPool pool)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

IslandSchemaImpl.Binder

public IslandSchemaImpl.Binder(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.


localize

public String localize(String prop)

localize

public String localize(String prop,
                       Object arg1)

localize

public String localize(String prop,
                       Object arg1,
                       Object arg2)