com.sun.msv.relaxns.verifier

Class IslandSchemaImpl.Binder

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 StringERR_UNDEFINED_NAMESPACE
static StringERR_UNEXPORTED_ATTRIBUTE_DECL
static StringERR_UNEXPORTED_ELEMENT_DECL
static StringERR_UNSUPPROTED_ATTRIBUTES_IMPORT
Constructor Summary
Binder(SchemaProvider provider, ErrorHandler errorHandler, ExpressionPool pool)
Method Summary
Stringlocalize(String propertyName, Object[] args)
localizes messages. derived class can override this method to provide schema languagespecific error messages.
Stringlocalize(String prop)
Stringlocalize(String prop, Object arg1)
Stringlocalize(String prop, Object arg1, Object arg2)
ExpressiononAttribute(AttributeExp exp)
ExpressiononElement(ElementExp exp)
ExpressiononOther(OtherExp exp)
ExpressiononRef(ReferenceExp exp)

Field Detail

ERR_UNDEFINED_NAMESPACE

public static final String ERR_UNDEFINED_NAMESPACE

ERR_UNEXPORTED_ATTRIBUTE_DECL

public static final String ERR_UNEXPORTED_ATTRIBUTE_DECL

ERR_UNEXPORTED_ELEMENT_DECL

public static final String ERR_UNEXPORTED_ELEMENT_DECL

ERR_UNSUPPROTED_ATTRIBUTES_IMPORT

public static final String ERR_UNSUPPROTED_ATTRIBUTES_IMPORT

Constructor Detail

Binder

public Binder(SchemaProvider provider, ErrorHandler errorHandler, ExpressionPool pool)

Method Detail

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)

onAttribute

public Expression onAttribute(AttributeExp exp)

onElement

public Expression onElement(ElementExp exp)

onOther

public Expression onOther(OtherExp exp)

onRef

public Expression onRef(ReferenceExp exp)