|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.lowagie.text.xml.XmlPeer
This interface is implemented by the peer of all the iText objects.
| Constructor Summary | |
XmlPeer(String name,
String alias)
Creates a XmlPeer. |
|
| Method Summary | |
void |
addAlias(String name,
String alias)
Sets an alias for an attribute. |
void |
addValue(String name,
String value)
Sets a value for an attribute. |
String |
getAlias()
Gets the tagname of the peer. |
Properties |
getAttributes(Attributes attrs)
Gets the list of attributes of the peer. |
Properties |
getDefaultValues()
Returns the default values. |
String |
getName(String name)
Returns the iText attribute name. |
String |
getTag()
Gets the tagname of the peer. |
void |
setContent(String content)
Sets the default content. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XmlPeer(String name,
String alias)
name - the iText name of a tagalias - the user defined name of a tag| Method Detail |
public String getTag()
public String getAlias()
public Properties getAttributes(Attributes attrs)
attrs - the user defined set of attributes
public void addAlias(String name,
String alias)
name - the iText tagnamealias - the custom tagname
public void addValue(String name,
String value)
name - the iText tagnamevalue - the default value for this tagpublic void setContent(String content)
content - the default contentpublic String getName(String name)
name - the custom attribute name
public Properties getDefaultValues()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||