com.sun.xml.stream
Class PropertyManager

java.lang.Object
  extended by com.sun.xml.stream.PropertyManager

public class PropertyManager
extends java.lang.Object

This class manages different properties related to Stax specification and its implementation. This class constructor also takes itself (PropertyManager object) as parameter and initializes the object with the property taken from the object passed.

Author:
Neeraj Bajaj, neeraj.bajaj@sun.com, K.Venugopal@sun.com

Field Summary
static int CONTEXT_READER
           
static int CONTEXT_WRITER
           
protected static java.lang.String STAX_ENTITIES
           
protected static java.lang.String STAX_NOTATIONS
           
 
Constructor Summary
PropertyManager(int context)
          Creates a new instance of PropertyManager
PropertyManager(PropertyManager propertyManager)
          Initialize this object with the properties taken from passed PropertyManager object.
 
Method Summary
 boolean containsProperty(java.lang.String property)
          public void reset(){ supportedProps.clear() ; }
 java.lang.Object getProperty(java.lang.String property)
           
 void setProperty(java.lang.String property, java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STAX_NOTATIONS

protected static final java.lang.String STAX_NOTATIONS
See Also:
Constant Field Values

STAX_ENTITIES

protected static final java.lang.String STAX_ENTITIES
See Also:
Constant Field Values

CONTEXT_READER

public static final int CONTEXT_READER
See Also:
Constant Field Values

CONTEXT_WRITER

public static final int CONTEXT_WRITER
See Also:
Constant Field Values
Constructor Detail

PropertyManager

public PropertyManager(int context)
Creates a new instance of PropertyManager


PropertyManager

public PropertyManager(PropertyManager propertyManager)
Initialize this object with the properties taken from passed PropertyManager object.

Method Detail

containsProperty

public boolean containsProperty(java.lang.String property)
public void reset(){ supportedProps.clear() ; }


getProperty

public java.lang.Object getProperty(java.lang.String property)

setProperty

public void setProperty(java.lang.String property,
                        java.lang.Object value)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright ? 2002-2003 Apache XML Project. All Rights Reserved.