|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
addAdvancedDomAttributesOfForeignElement(IxbElement el)
Copies to the element such nodes as CData Processing instructions and so on.Is used by Tuner only Supported API: false |
void |
addAttribute(String name,
String value)
Supported API: true |
IxbElement |
addCDataSectionValue(String key,
String value)
Supported API: true |
void |
addCommentByCopy(Object el)
Supported API: false |
void |
addElement(IxbElement el)
Supported API: true |
IxbElement |
addElement(String key)
Supported API: true |
void |
addForeignElementByAdopt(IxbElement el)
Makes foreign elem native by adopt - not standard DOM feature Supported API: false |
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 |
Enumeration |
getElementsAndComments()
Supported API: false |
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 |
public void addAttribute(String name, String value) throws WTException
name
- value
-
WTException
public IxbElement addValue(String key, String value) throws WTException
key
- value
-
WTException
public IxbElement addValue(String tag, int value) throws WTException
tag
- value
-
WTException
public IxbElement addValue(String tag, long value) throws WTException
tag
- value
-
WTException
public IxbElement addValue(String tag, boolean value) throws WTException
tag
- value
-
WTException
public IxbElement addValue(String tag, double value) throws WTException
tag
- value
-
WTException
public IxbElement addCDataSectionValue(String key, String value) throws WTException
key
- value
-
WTException
public IxbElement addElement(String key) throws WTException
key
-
WTException
public void addElement(IxbElement el) throws WTException
el
-
WTException
public void addForeignElementByCopy(IxbElement el) throws WTException
el
-
WTException
public void addForeignElementByAdopt(IxbElement el) throws WTException
el
-
WTException
public void addAdvancedDomAttributesOfForeignElement(IxbElement el) throws WTException
el
-
WTException
public void addCommentByCopy(Object el) throws WTException
el
-
WTException
public void removeChildElement(IxbElement el) throws WTException
el
-
WTException
public boolean isTextElement() throws WTException
WTException
public boolean isCommentElement() throws WTException
WTException
public boolean isCDATASectionElement() throws WTException
WTException
public String getTag() throws WTException
WTException
public String getAttribute(String tag) throws WTException
tag
-
WTException
public Enumeration getAttributes() throws WTException
WTException
public Hashtable getAttributeValuePairs() throws WTException
WTException
public String getValue() throws WTException
WTException
public String getValue(String tag) throws WTException
tag
-
WTException
public IxbElement setValue(String key, String newValue) throws WTException
key
- newValue
-
WTException
public Enumeration getValues(String tag) throws WTException
tag
-
WTException
public IxbElement getElement(String tag) throws WTException
tag
-
WTException
public Enumeration getElements(String tag) throws WTException
tag
-
WTException
public Enumeration getElements() throws WTException
WTException
public Enumeration getElementsAndComments() throws WTException
WTException
public IxbElement getParent() throws WTException
WTException
public Iterator getKeys() throws WTException
WTException
public String store(String dtdName) throws WTException
dtdName
-
WTException
public void store(OutputStream os, String dtdName) throws WTException
os
- dtdName
-
WTException
public File store(File xmlFile, String dtdName) throws WTException
xmlFile
- dtdName
-
WTException
public Integer getIntValue(String tag) throws WTException
tag
-
WTException
public Long getLongValue(String tag) throws WTException
tag
-
WTException
public Boolean getBooleanValue(String tag) throws WTException
tag
-
WTException
public Double getDoubleValue(String tag) throws WTException
tag
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |