com.mkdoc.sax
Class AbstractXMLReader.Property

java.lang.Object
  |
  +--com.mkdoc.sax.AbstractXMLReader.Property
Enclosing class:
AbstractXMLReader

protected class AbstractXMLReader.Property
extends java.lang.Object

SAX parser property.

Property support is true by default. To create properties that are not supported, use the setSupported method.

Since:
Version 0.2 2004-10-25

Constructor Summary
protected AbstractXMLReader.Property(java.lang.Object value)
          Constructor with initial object value.
 
Method Summary
 java.lang.Object getValue()
          Get the property value.
protected  void setSupported(boolean supported)
          Control the accessibility of the property.
 void setValue(java.lang.Object value)
          Set the property value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractXMLReader.Property

protected AbstractXMLReader.Property(java.lang.Object value)
Constructor with initial object value.

Parameters:
value - The value of this feature.
Since:
Version 0.2 2004-10-25
Method Detail

setValue

public final void setValue(java.lang.Object value)
                    throws org.xml.sax.SAXNotSupportedException
Set the property value.

Parameters:
value - The value of this property.
Throws:
org.xml.sax.SAXNotSupportedException - If the feature is not supported; it is not mutable.
Since:
Version 0.2 2004-10-25

getValue

public final java.lang.Object getValue()
                                throws org.xml.sax.SAXNotSupportedException
Get the property value.

Returns:
The value of this property.
Throws:
org.xml.sax.SAXNotSupportedException - If the property value is not supported; it is not accessible.
Since:
Version 0.2 2004-10-25

setSupported

protected final void setSupported(boolean supported)
Control the accessibility of the property.

Parameters:
supported - Whether this property is supported.
Since:
Version 0.2 2004-10-25