org.iso_relax.dispatcher
Interface ElementDecl


public interface ElementDecl

represents a constraint for one XML element. One can obtain an IslandVerifier that validates this constraint by calling createNewVerifier method of IslandSchema who exported this object. This interface also provides feature/property mechanism to encourage communications between two different implementations.


Method Summary
 boolean getFeature(String featureName)
          looks up the value of a feature this method works like getFeature method of SAX.
 String getName()
          gets name of this rule.
 Object getProperty(String propertyName)
          looks up the value of a property this method works like getProperty method of SAX.
 

Method Detail

getName

String getName()
gets name of this rule. every ElementDecl has a unique name within the schema.


getFeature

boolean getFeature(String featureName)
                   throws SAXNotRecognizedException,
                          SAXNotSupportedException
looks up the value of a feature this method works like getFeature method of SAX. featureName is a fully-qualified URI. Implementators are encouraged to invent their own features, by using their own URIs.

Throws:
SAXNotRecognizedException
SAXNotSupportedException

getProperty

Object getProperty(String propertyName)
                   throws SAXNotRecognizedException,
                          SAXNotSupportedException
looks up the value of a property this method works like getProperty method of SAX. propertyName is a fully-qualified URI. Implementators are encouraged to invent their own properties, by using their own URIs.

Throws:
SAXNotRecognizedException
SAXNotSupportedException