Package wt.facade.ixb
Interface IxbElement
- All Known Subinterfaces:
IxbDocument
- All Known Implementing Classes:
IxbDocumentWrapper,IxbJaxbDocElement,IxbJaxbElement
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: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttribute(String name, String value)
Supported API: trueaddCDataSectionValue(String key, String value)
Supported API: trueaddElement(String key)
Supported API: truevoidaddElement(IxbElement el)
Supported API: truevoidMakes foreign elem native by copy - i.e.
Supported API: true
Supported API: true
Supported API: true
Supported API: true
Supported API: truegetAttribute(String tag)
Supported API: true
Supported API: trueReturns Hashtable of pairs: (attrName, attrValue)
Supported API: truegetBooleanValue(String tag)
Supported API: truegetDoubleValue(String tag)
Supported API: truegetElement(String tag)
Supported API: true
Supported API: truegetElements(String tag)
Supported API: truegetIntValue(String tag)
Supported API: truegetKeys()
Supported API: truegetLongValue(String tag)
Supported API: true
Supported API: truegetTag()
Supported API: truegetValue()
Supported API: true
Supported API: true
Supported API: trueboolean
Supported API: trueboolean
Supported API: trueboolean
Supported API: truevoid
Supported API: true
Supported API: true
Supported API: truevoidstore(OutputStream os, String dtdName)
Supported API: true
Supported API: true
-
Method Details
-
addAttribute
Supported API: true- Parameters:
name-value-- Throws:
WTException
-
addValue
Supported API: true- Parameters:
key-value-- Returns:
- IxbElement
- Throws:
WTException
-
addValue
Supported API: true- Parameters:
tag-value-- Returns:
- IxbElement
- Throws:
WTException
-
addValue
Supported API: true- Parameters:
tag-value-- Returns:
- IxbElement
- Throws:
WTException
-
addValue
Supported API: true- Parameters:
tag-value-- Returns:
- IxbElement
- Throws:
WTException
-
addValue
Supported API: true- Parameters:
tag-value-- Returns:
- IxbElement
- Throws:
WTException
-
addCDataSectionValue
Supported API: true- Parameters:
key-value-- Returns:
- IxbElement
- Throws:
WTException
-
addElement
Supported API: true- Parameters:
key-- Returns:
- IxbElement
- Throws:
WTException
-
addElement
Supported API: true- Parameters:
el-- Throws:
WTException
-
addForeignElementByCopy
Makes foreign elem native by copy - i.e. by importNode()
Supported API: true- Parameters:
el-- Throws:
WTException
-
removeChildElement
Supported API: true- Parameters:
el-- Throws:
WTException
-
isTextElement
Supported API: true- Returns:
- boolean
- Throws:
WTException
-
isCommentElement
Supported API: true- Returns:
- boolean
- Throws:
WTException
-
isCDATASectionElement
Supported API: true- Returns:
- boolean
- Throws:
WTException
-
getTag
Supported API: true- Returns:
- String
- Throws:
WTException
-
getAttribute
Supported API: true- Parameters:
tag-- Returns:
- String
- Throws:
WTException
-
getAttributes
Supported API: true- Returns:
- Enumeration
- Throws:
WTException
-
getAttributeValuePairs
Returns Hashtable of pairs: (attrName, attrValue)
Supported API: true- Returns:
- Hashtable
- Throws:
WTException
-
getValue
Supported API: true- Returns:
- String
- Throws:
WTException
-
getValue
Supported API: true- Parameters:
tag-- Returns:
- String
- Throws:
WTException
-
setValue
Supported API: true- Parameters:
key-newValue-- Returns:
- IxbElement
- Throws:
WTException
-
getValues
Supported API: true- Parameters:
tag-- Returns:
- Enumeration
- Throws:
WTException
-
getElement
Supported API: true- Parameters:
tag-- Returns:
- IxbElement
- Throws:
WTException
-
getElements
Supported API: true- Parameters:
tag-- Returns:
- Enumeration
- Throws:
WTException
-
getElements
Supported API: true- Returns:
- Enumeration
- Throws:
WTException
-
getParent
Supported API: true- Returns:
- IxbElement
- Throws:
WTException
-
getKeys
Supported API: true- Returns:
- Iterator
- Throws:
WTException
-
store
Supported API: true- Parameters:
dtdName-- Returns:
- String
- Throws:
WTException
-
store
Supported API: true- Parameters:
os-dtdName-- Throws:
WTException
-
store
Supported API: true- Parameters:
xmlFile-dtdName-- Returns:
- File
- Throws:
WTException
-
getIntValue
Supported API: true- Parameters:
tag-- Returns:
- Integer
- Throws:
WTException
-
getLongValue
Supported API: true- Parameters:
tag-- Returns:
- Long
- Throws:
WTException
-
getBooleanValue
Supported API: true- Parameters:
tag-- Returns:
- Boolean
- Throws:
WTException
-
getDoubleValue
Supported API: true- Parameters:
tag-- Returns:
- Double
- Throws:
WTException
-