|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.edit.xmllite.XmlLiteElement
public class XmlLiteElement
This class contains its own properties, as well as child entries.
Field Summary | |
---|---|
protected XmlLiteElement |
_entryParent
|
protected String |
_strDateCreated
|
protected static String |
_strEmpty
|
protected String |
_strName
|
protected Vector |
_vectorChildEntries
|
protected Vector |
_vectorProperties
|
static String |
copyright
|
Constructor Summary | |
---|---|
XmlLiteElement(XmlLiteElement entryParent,
String name)
Constructs a new entry. |
Method Summary | |
---|---|
void |
addAttribute(XmlLiteAttribute property)
Adds a property to this entry |
void |
addChildElement(XmlLiteElement entryChild)
Adds a sub-entry to this entry |
XmlLiteAttribute |
getAttribute(String name)
Returns the first property with this name belonging to this entry. |
XmlLiteAttribute[] |
getAttributes()
Returns an array of properties that this entry has. |
XmlLiteElement |
getChildElement(String name)
Returns the first child entry with the specified name. |
XmlLiteElement[] |
getChildElements()
Returns all child entries |
XmlLiteElement[] |
getChildElements(String name)
Returns an array of all child elements with the specified name |
String |
getName()
Returns the name of the entry. |
int |
getNumberOfAttributes()
Returns the number of properties that this entry has. |
int |
getNumberOfChildElements()
Returns the number of child entries. |
XmlLiteElement |
getParentElement()
Returns the parent entry. |
void |
printElementTree(int iIndentation)
Debug function that prints the entire element tree, and each element's attributes starting at this element. |
void |
printPersistentElementString(StringBuffer strb,
int iIndentation)
Prints out this entry and its attributes. |
protected void |
printPersistentElementStringIndentation(StringBuffer strb,
int iIndentation)
|
void |
printPersistentElementStringName(StringBuffer strb)
|
void |
removeAllAttributes()
|
void |
removeAllChildElements()
|
boolean |
removeAttribute(String name)
|
boolean |
removeChildElements(IXmlLiteEntry entry)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String copyright
protected static final String _strEmpty
protected String _strDateCreated
protected String _strName
protected Vector _vectorChildEntries
protected Vector _vectorProperties
protected XmlLiteElement _entryParent
Constructor Detail |
---|
public XmlLiteElement(XmlLiteElement entryParent, String name)
entryParent
- org.eclipse.update.internal.core#LogEntryname
- java.lang.StringMethod Detail |
---|
public void addAttribute(XmlLiteAttribute property)
attribute
- org.eclipse.update.internal.core#LogEntryAttributepublic void addChildElement(XmlLiteElement entryChild)
entryChild
- org.eclipse.update.internal.core#LogEntrypublic XmlLiteAttribute getAttribute(String name)
attributeName
- java.lang.Stringpublic XmlLiteAttribute[] getAttributes()
public XmlLiteElement getChildElement(String name)
name
- java.lang.String
public XmlLiteElement[] getChildElements()
public XmlLiteElement[] getChildElements(String name)
elementName
- java.lang.Stringpublic String getName()
public int getNumberOfAttributes()
public int getNumberOfChildElements()
public XmlLiteElement getParentElement()
public void printElementTree(int iIndentation)
public void printPersistentElementString(StringBuffer strb, int iIndentation)
protected void printPersistentElementStringIndentation(StringBuffer strb, int iIndentation)
strb
- java.lang.StringBufferiIndentation
- intpublic void printPersistentElementStringName(StringBuffer strb)
strb
- java.lang.StringBufferpublic void removeAllAttributes()
public void removeAllChildElements()
public boolean removeAttribute(String name)
name
- java.lang.String
public boolean removeChildElements(IXmlLiteEntry entry)
entry
- org.eclipse.update.internal.core#ILogEntry
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |