|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IxbElement
This interface represent XML element for export and import.
Thisis a simple wraper for org.w3c.dom.Element
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
void |
addAttribute(String name,
String value)
Supported API: true |
IxbElement |
addCDataSectionValue(String key,
String value)
Supported API: true |
void |
addElement(IxbElement el)
Supported API: true |
IxbElement |
addElement(String key)
Supported API: true |
void |
addForeignElementByCopy(IxbElement el)
Makes foreign elem native by copy - i.e. |
IxbElement |
addValue(String tag,
boolean value)
Supported API: true |
IxbElement |
addValue(String tag,
double value)
Supported API: true |
IxbElement |
addValue(String tag,
int value)
Supported API: true |
IxbElement |
addValue(String tag,
long value)
Supported API: true |
IxbElement |
addValue(String key,
String value)
Supported API: true |
String |
getAttribute(String tag)
Supported API: true |
Enumeration |
getAttributes()
Supported API: true |
Hashtable |
getAttributeValuePairs()
Returns Hashtable of pairs: (attrName, attrValue) Supported API: true |
Boolean |
getBooleanValue(String tag)
Supported API: true |
Double |
getDoubleValue(String tag)
Supported API: true |
IxbElement |
getElement(String tag)
Supported API: true |
Enumeration |
getElements()
Supported API: true |
Enumeration |
getElements(String tag)
Supported API: true |
Integer |
getIntValue(String tag)
Supported API: true |
Iterator |
getKeys()
Supported API: true |
Long |
getLongValue(String tag)
Supported API: true |
IxbElement |
getParent()
Supported API: true |
String |
getTag()
Supported API: true |
String |
getValue()
Supported API: true |
String |
getValue(String tag)
Supported API: true |
Enumeration |
getValues(String tag)
Supported API: true |
boolean |
isCDATASectionElement()
Supported API: true |
boolean |
isCommentElement()
Supported API: true |
boolean |
isTextElement()
Supported API: true |
void |
removeChildElement(IxbElement el)
Supported API: true |
IxbElement |
setValue(String key,
String newValue)
Supported API: true |
File |
store(File xmlFile,
String dtdName)
Supported API: true |
void |
store(OutputStream os,
String dtdName)
Supported API: true |
String |
store(String dtdName)
Supported API: true |
| Method Detail |
|---|
void addAttribute(String name,
String value)
throws WTException
name - value -
WTException
IxbElement addValue(String key,
String value)
throws WTException
key - value -
WTException
IxbElement addValue(String tag,
int value)
throws WTException
tag - value -
WTException
IxbElement addValue(String tag,
long value)
throws WTException
tag - value -
WTException
IxbElement addValue(String tag,
boolean value)
throws WTException
tag - value -
WTException
IxbElement addValue(String tag,
double value)
throws WTException
tag - value -
WTException
IxbElement addCDataSectionValue(String key,
String value)
throws WTException
key - value -
WTException
IxbElement addElement(String key)
throws WTException
key -
WTException
void addElement(IxbElement el)
throws WTException
el -
WTException
void addForeignElementByCopy(IxbElement el)
throws WTException
el -
WTException
void removeChildElement(IxbElement el)
throws WTException
el -
WTException
boolean isTextElement()
throws WTException
WTException
boolean isCommentElement()
throws WTException
WTException
boolean isCDATASectionElement()
throws WTException
WTException
String getTag()
throws WTException
WTException
String getAttribute(String tag)
throws WTException
tag -
WTException
Enumeration getAttributes()
throws WTException
WTException
Hashtable getAttributeValuePairs()
throws WTException
WTException
String getValue()
throws WTException
WTException
String getValue(String tag)
throws WTException
tag -
WTException
IxbElement setValue(String key,
String newValue)
throws WTException
key - newValue -
WTException
Enumeration getValues(String tag)
throws WTException
tag -
WTException
IxbElement getElement(String tag)
throws WTException
tag -
WTException
Enumeration getElements(String tag)
throws WTException
tag -
WTException
Enumeration getElements()
throws WTException
WTException
IxbElement getParent()
throws WTException
WTException
Iterator getKeys()
throws WTException
WTException
String store(String dtdName)
throws WTException
dtdName -
WTException
void store(OutputStream os,
String dtdName)
throws WTException
os - dtdName -
WTException
File store(File xmlFile,
String dtdName)
throws WTException
xmlFile - dtdName -
WTException
Integer getIntValue(String tag)
throws WTException
tag -
WTException
Long getLongValue(String tag)
throws WTException
tag -
WTException
Boolean getBooleanValue(String tag)
throws WTException
tag -
WTException
Double getDoubleValue(String tag)
throws WTException
tag -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||