|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.rtf.rtflib.rtfdoc.RtfAttributes
public class RtfAttributes
Attributes for RtfText
Constructor Summary | |
---|---|
RtfAttributes()
|
Method Summary | |
---|---|
void |
addIntegerValue(int addValue,
java.lang.String name)
Add integer value addValue to attribute with name name . |
java.lang.Object |
clone()
implement cloning |
java.lang.Object |
getValue(java.lang.String name)
|
java.lang.Integer |
getValueAsInteger(java.lang.String name)
Returns a value as an Integer. |
org.xml.sax.Attributes |
getXslAttributes()
Added by Normand Masse Used for attribute inheritance |
boolean |
isSet(java.lang.String name)
|
java.util.Iterator |
nameIterator()
|
RtfAttributes |
set(RtfAttributes attrs)
Set attributes from another 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,
RtfAttributes value)
Set an attribute that has nested attributes as value |
RtfAttributes |
set(java.lang.String name,
java.lang.String type)
Set an attribute that has a String value |
void |
setXslAttributes(org.xml.sax.Attributes pAttribs)
Added by Normand Masse Used for attribute inheritance |
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 |
Constructor Detail |
---|
public RtfAttributes()
Method Detail |
---|
public RtfAttributes set(RtfAttributes attrs)
attrs
- RtfAttributes object whose elements will be copied into this
instance
public RtfAttributes set(java.lang.String name)
name
- name of attribute to set
public RtfAttributes unset(java.lang.String name)
name
- name of attribute to unset
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)
name
- name of attributevalue
- value of attribute
public RtfAttributes set(java.lang.String name, java.lang.String type)
name
- name of attributetype
- value of attribute
public RtfAttributes set(java.lang.String name, RtfAttributes value)
name
- name of attributevalue
- value of the nested attributes
public java.lang.Object getValue(java.lang.String name)
name
- String containing attribute name
public java.lang.Integer getValueAsInteger(java.lang.String name)
name
- String containing attribute name
public boolean isSet(java.lang.String name)
name
- String containing attribute name
public java.util.Iterator nameIterator()
public org.xml.sax.Attributes getXslAttributes()
public void setXslAttributes(org.xml.sax.Attributes pAttribs)
pAttribs
- attributespublic void addIntegerValue(int addValue, java.lang.String name)
addValue
to attribute with name name
.
If there is no such setted attribute, then value of this attribure is equal to
addValue
.
addValue
- the increment of valuename
- the name of attribute
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |