Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jfor.jfor.rtflib.rtfdoc
Class RtfAttributes  view RtfAttributes download RtfAttributes.java

java.lang.Object
  extended byorg.jfor.jfor.rtflib.rtfdoc.RtfAttributes
All Implemented Interfaces:
java.lang.Cloneable

public class RtfAttributes
extends java.lang.Object
implements java.lang.Cloneable

Attributes for RtfText


Field Summary
private  java.util.HashMap m_values
           
private  org.xml.sax.Attributes m_xsl_attributes
           
 
Constructor Summary
RtfAttributes()
           
 
Method Summary
 java.lang.Object clone()
          implement cloning
 java.lang.Object getValue(java.lang.String name)
          get the value of an attribute, null if not found
 org.xml.sax.Attributes getXslAttributes()
           
 boolean isSet(java.lang.String name)
          true if given attribute is set
 java.util.Iterator nameIterator()
          return an Iterator on all names that are set
 RtfAttributes set(RtfAttributes attrs)
          set attributes from a other attributes object.
 RtfAttributes set(java.lang.String name)
          set an attribute that has no value.
 RtfAttributes set(java.lang.String name, int value)
          set an attribute that has an integer value
 RtfAttributes set(java.lang.String name, java.lang.String type)
           
 void setXslAttributes(org.xml.sax.Attributes pAttribs)
           
 java.lang.String toString()
          debugging log
 RtfAttributes unset(java.lang.String name)
          unset an attribute that has no value
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_values

private java.util.HashMap m_values

m_xsl_attributes

private org.xml.sax.Attributes m_xsl_attributes
Constructor Detail

RtfAttributes

public RtfAttributes()
Method Detail

set

public RtfAttributes set(RtfAttributes attrs)
set attributes from a other attributes object.


set

public RtfAttributes set(java.lang.String name)
set an attribute that has no value.


unset

public RtfAttributes unset(java.lang.String name)
unset an attribute that has no value


toString

public java.lang.String toString()
debugging log


clone

public java.lang.Object clone()
implement cloning


set

public RtfAttributes set(java.lang.String name,
                         int value)
set an attribute that has an integer value


set

public RtfAttributes set(java.lang.String name,
                         java.lang.String type)

getValue

public java.lang.Object getValue(java.lang.String name)
get the value of an attribute, null if not found


isSet

public boolean isSet(java.lang.String name)
true if given attribute is set


nameIterator

public java.util.Iterator nameIterator()
return an Iterator on all names that are set


getXslAttributes

public org.xml.sax.Attributes getXslAttributes()

setXslAttributes

public void setXslAttributes(org.xml.sax.Attributes pAttribs)