|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.nds.dirxml.driver.xds.ElementImpl
com.novell.nds.dirxml.driver.xds.XDSValueElement
A <value>
element.
ValueElementsParent
Method Summary | |
void |
appendBytes(byte[] bytes)
Appends a Base64-encoded text node to this element. |
void |
appendBytes(byte[] bytes,
int offset,
int length)
Appends a Base64-encoded text node to this element. |
XDSComponentElement |
appendComponentElement()
Appends an empty, child <component> element to this
element. |
void |
appendText(String someText)
Appends a single, child text node containing someText to
this element. |
byte[] |
bytes()
Decodes the Base64-encoded text from this element's child text nodes. |
List |
extractComponentElements()
Returns this element's child <component> elements. |
String |
extractText()
Returns the concatenated child text nodes of this element. |
String |
getAssociationRef()
Gets the value of this element's association-ref attribute. |
ValueType |
getType()
Gets the value of this element's type attribute. |
void |
setAssociationRef(String someRef)
Sets this element's association-ref attribute to
someRef . |
void |
setType(ValueType someType)
Sets this element's type attribute to
someType . |
Methods inherited from class com.novell.nds.dirxml.driver.xds.ElementImpl |
attributeValueGet, attributeValueGet, attributeValueSet, childElements, documentImpl, domDocument, domElement, localName, namespaceName, position, tagName |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.novell.nds.dirxml.driver.xds.XDSElement |
attributeValueGet, attributeValueGet, attributeValueSet, childElements, domDocument, domElement, localName, namespaceName, position, tagName |
Method Detail |
public String getAssociationRef()
association-ref
attribute.
null
; will not return ""
public String extractText()
TextParent
extractText
in interface TextParent
null
; will not return ""
public byte[] bytes() throws IOException
null
; will not return ""
IOException
- if this element is write-onlypublic ValueType getType()
type
attribute.
null
public List extractComponentElements()
<component>
elements.
java.util.Collections.EMPTY_LIST
or a List of
XDSAddAttrElement
objects; will not return
null
public void setType(ValueType someType)
type
attribute to
someType
.
someType
- if null
, no action is takenpublic void appendText(String someText)
TextParent
someText
to
this element.
appendText
in interface TextParent
someText
- the text being appended; if null
or
""
, no action is takenpublic void appendBytes(byte[] bytes, int offset, int length)
bytes
- the bytes to encode; if null
, no action is
takenoffset
- the index of the first byte to encodelength
- the number of bytes to encode from offset
public void appendBytes(byte[] bytes)
bytes
- the bytes to encode; if null
, no action is
takenpublic XDSComponentElement appendComponentElement()
<component>
element to this
element.
null
public void setAssociationRef(String someRef)
association-ref
attribute to
someRef
.
someRef
- if null
or ""
, no action is
taken
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |