| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
org.jdom.Elementorg.jSyncManager.API.Conduit.Tools.JSXMLElementpublic class JSXMLElementextends org.jdom.ElementConstructor Summary | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Method Summary | |
boolean |
|
byte[] |
|
byte |
|
char[] |
|
char |
|
Calendar |
|
double[] |
|
double |
|
float[] |
|
float |
|
int[] |
|
int |
|
long[] |
|
long |
|
String[] |
|
public JSXMLElement()
Creates a new instance of JSXMLElement
public JSXMLElement(String name)
Creates a new instance of JSXMLElement with the name given.
- Parameters:
name- String name of element
public JSXMLElement(String name,
Calendar dateentry)Creates a new instance of JSXMLElement with the given name and content of the Calendar date given.
- Parameters:
name- String name of element.dateentry- Calendar object for date content.
public JSXMLElement(String name,
String value)Creates a new instance of JSXMLElement with the given name and content of the String given.
- Parameters:
name- String name of element.value- String object for content.
public JSXMLElement(String name,
StringBuffer value)Creates a new instance of JSXMLElement with the given name and content of the StringBuffer value given.
- Parameters:
name- String name of element.value- StringBuffer type for content.
public JSXMLElement(String name,
boolean value)Creates a new instance of JSXMLElement with the given name and content of the boolean given.
- Parameters:
name- String name of element.value- Boolean primitive type for content.
public JSXMLElement(String name,
byte value)Creates a new instance of JSXMLElement with the given name and content of the byte value given.
- Parameters:
name- String name of element.value- byte primitive type for content.
public JSXMLElement(String name,
char value)Creates a new instance of JSXMLElement with the given name and content of the char given.
- Parameters:
name- String name of element.value- char primitive type for content.
public JSXMLElement(String name,
double value)Creates a new instance of JSXMLElement with the given name and content of the double value given.
- Parameters:
name- String name of element.value- double primitive type for content.
public JSXMLElement(String name,
float value)Creates a new instance of JSXMLElement with the given name and content of the float given.
- Parameters:
name- String name of element.value- float primitive type for content.
public JSXMLElement(String name,
int value)Creates a new instance of JSXMLElement with the given name and content of the int value given.
- Parameters:
name- String name of element.value- int primitive type for content.
public JSXMLElement(String name,
long value)Creates a new instance of JSXMLElement with the given name and content of the long given.
- Parameters:
name- String name of element.value- long primitive type for content.
public JSXMLElement(String name,
value[] )Creates a new instance of JSXMLElement with the given name and content of the String array given. Each String content element is created as its own XML Element.
- Parameters:
name- String name of element.
public JSXMLElement(String name,
value[] )Creates a new set of instances of JSXMLElement with the given name and content of the char array values given.
- Parameters:
name- String name of element.
public JSXMLElement(String name,
value[] )Creates a new instance of JSXMLElement with the given name and content of the boolean array values given.
- Parameters:
name- String name of element.
public JSXMLElement(String name,
value[] )Creates a new set of instances of JSXMLElement with the given name and content of the int array values given.
- Parameters:
name- String name of element.
public JSXMLElement(String name,
value[] )Creates a new instance of JSXMLElement with the given name and content of the long value array given.
- Parameters:
name- String name of element.
public JSXMLElement(String name,
value[] )Creates a new instance of JSXMLElement with the given name and content of the array of float values given.
- Parameters:
name- String name of element.
public JSXMLElement(String name,
value[] )Creates a new instance of JSXMLElement with the given name and content of the array of double values given.
- Parameters:
name- String name of element.
public boolean readBooleanElement()
Read boolean element and return the value.
- Returns:
- boolean value content of the element.
public byte[] readByteArrayElement()
Read byte array element and return the value in a byte array.
- Returns:
- byte array value content of the element's children.
public byte readByteElement()
Read byte element and return the value.
- Returns:
- byte value content of the element.
public char[] readCharArrayElement()
Read char array element and return the value in a byte array.
- Returns:
- char array value content of the element's children.
public char readCharElement()
Read char element and return the value.
- Returns:
- char value content of the element.
public Calendar readDateElement()
Read date element and return the Calendar value.
- Returns:
- Calendar value content of the element.
public double[] readDoubleArrayElement()
Read double array element and return the value in a byte array.
- Returns:
- double array value content of the element's children.
public double readDoubleElement()
Read double element and return the value.
- Returns:
- double value content of the element.
public float[] readFloatArrayElement()
Read float array element and return the value in a byte array.
- Returns:
- float array value content of the element's children.
public float readFloatElement()
Read float element and return the value.
- Returns:
- float value content of the element.
public int[] readIntArrayElement()
Read int array element and return the value in a byte array.
- Returns:
- int array value content of the element's children.
public int readIntElement()
Read int element and return the value.
- Returns:
- int value content of the element.
public long[] readLongArrayElement()
Read long array element and return the value in a byte array.
- Returns:
- long array value content of the element's children.
public long readLongElement()
Read long element and return the value.
- Returns:
- long value content of the element.
public String[] readStringArrayElement()
Read the Child contents of the JSXMLElement, and create a String array from them.
- Returns:
- String[] An array of String values from the Children of this Element.