public class RtfAttributes
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
RtfAttributes() |
Modifier and Type | Method and Description |
---|---|
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
|
public RtfAttributes set(RtfAttributes attrs)
public RtfAttributes set(java.lang.String name)
public RtfAttributes unset(java.lang.String name)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
public RtfAttributes set(java.lang.String name, int value)
public RtfAttributes set(java.lang.String name, java.lang.String type)
public java.lang.Object getValue(java.lang.String name)
public boolean isSet(java.lang.String name)
public java.util.Iterator nameIterator()
public org.xml.sax.Attributes getXslAttributes()
public void setXslAttributes(org.xml.sax.Attributes pAttribs)