|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jstacs.io.XMLParser
public class XMLParser
Class for parsing standard data types and arrays in and out of an XML
File
. The methods with prefix append
or
add
are for encoding, while methods with prefix
extract
are for decoding.
Constructor Summary | |
---|---|
XMLParser()
|
Method Summary | ||
---|---|---|
static void |
addTags(StringBuffer source,
String tag)
Frames the StringBuffer source with equal tags
"< tag >" and "</tag
>". |
|
static void |
addTags(StringBuffer source,
String startTag,
String endTag)
Frames the StringBuffer source with "<
startTag >" and "</endTag
>". |
|
static void |
appendBoolean2ArrayWithTags(StringBuffer source,
boolean[][] i,
String tag)
Appends an encoded two dimensional boolean array with equal
tags to the StringBuffer source . |
|
static void |
appendBoolean2ArrayWithTags(StringBuffer source,
boolean[][] i,
String startTag,
String endTag)
Appends an encoded two dimensional boolean array with start
and end tag to the StringBuffer source . |
|
static void |
appendBooleanArrayWithTags(StringBuffer source,
boolean[] b,
String tag)
Appends an encoded boolean array with equal tags to the
StringBuffer source . |
|
static void |
appendBooleanArrayWithTags(StringBuffer source,
boolean[] b,
String startTag,
String endTag)
Appends an encoded boolean array with start and end tag to
the StringBuffer source . |
|
static void |
appendBooleanWithTags(StringBuffer source,
boolean b,
String tag)
Appends a boolean value with equal tags to the
StringBuffer source in the following way: "<
tag >b </tag >". |
|
static void |
appendBooleanWithTags(StringBuffer source,
boolean b,
String startTag,
String endTag)
Appends a boolean value with start and end tag to the
StringBuffer source in the following way: "<
startTag >b </endTag
>". |
|
static void |
appendByte2ArrayWithTags(StringBuffer source,
byte[][] i,
String tag)
Appends an encoded two dimensional byte array with equal
tags to the StringBuffer source . |
|
static void |
appendByte2ArrayWithTags(StringBuffer source,
byte[][] i,
String startTag,
String endTag)
Appends an encoded two dimensional byte array with start and
end tag to the StringBuffer source . |
|
static void |
appendByteArrayWithTags(StringBuffer source,
byte[] b,
String tag)
Appends an encoded byte array with equal tags to the
StringBuffer source . |
|
static void |
appendByteArrayWithTags(StringBuffer source,
byte[] b,
String startTag,
String endTag)
Appends an encoded byte array with start and end tag to the
StringBuffer source . |
|
static void |
appendByteWithTags(StringBuffer source,
byte b,
String tag)
Appends a byte value with equal tags to the
StringBuffer source in the following way: "<
tag >b </tag >". |
|
static void |
appendByteWithTags(StringBuffer source,
byte b,
String startTag,
String endTag)
Appends a byte value with start and end tag to the
StringBuffer source in the following way: "<
startTag >b </endTag
>". |
|
static void |
appendDouble2ArrayWithTags(StringBuffer source,
double[][] d,
String tag)
Appends an encoded two dimensional double array with equal
tags to the StringBuffer source . |
|
static void |
appendDouble2ArrayWithTags(StringBuffer source,
double[][] d,
String startTag,
String endTag)
Appends an encoded two dimensional double array with start
and end tag to the StringBuffer source . |
|
static void |
appendDoubleArrayWithTags(StringBuffer source,
double[] d,
String tag)
Appends an encoded double array with equal tags to the
StringBuffer source . |
|
static void |
appendDoubleArrayWithTags(StringBuffer source,
double[] d,
String startTag,
String endTag)
Appends an encoded double array with start and end tag to
the StringBuffer source . |
|
static void |
appendDoubleWithTags(StringBuffer source,
double d,
String startTag)
Appends a double value with equal tags to the
StringBuffer source in the following way: "<
tag >d </tag >". |
|
static void |
appendDoubleWithTags(StringBuffer source,
double d,
String startTag,
String endTag)
Appends a double value with start and end tag to the
StringBuffer source in the following way: "<
startTag >d </endTag
>". |
|
static
|
appendEnumWithTags(StringBuffer source,
Enum<T> e,
String tag)
Appends an Enum object with equal tags to the
StringBuffer source . |
|
static
|
appendEnumWithTags(StringBuffer source,
Enum<T> e,
String startTag,
String endTag)
Appends an Enum object with start and end tag to the
StringBuffer source . |
|
static void |
appendInt2ArrayWithTags(StringBuffer source,
int[][] i,
String tag)
Appends an encoded two dimensional int array with equal tags
to the StringBuffer source . |
|
static void |
appendInt2ArrayWithTags(StringBuffer source,
int[][] i,
String startTag,
String endTag)
Appends an encoded two dimensional int array with start and
end tag to the StringBuffer source . |
|
static void |
appendIntArrayWithTags(StringBuffer source,
int[] i,
String tag)
Appends an encoded int array with equal tags to the
StringBuffer source . |
|
static void |
appendIntArrayWithTags(StringBuffer source,
int[] i,
String startTag,
String endTag)
Appends an encoded int array with start and end tag to the
StringBuffer source . |
|
static void |
appendIntWithTags(StringBuffer source,
int i,
String tag)
Appends an int value with equal tags to the
StringBuffer source in the following way: "<
tag >i </tag >" |
|
static void |
appendIntWithTags(StringBuffer source,
int i,
String startTag,
String endTag)
Appends an int value with start and end tag to the
StringBuffer source in the following way: "<
startTag >i </endTag
>". |
|
static void |
appendLongWithTags(StringBuffer source,
long i,
String tag)
Appends a long value with equal tags to the
StringBuffer source in the following way: "<
tag >i </tag >". |
|
static void |
appendLongWithTags(StringBuffer source,
long i,
String startTag,
String endTag)
Appends a long value with start and end tag to the
StringBuffer source in the following way: "<
startTag >i </endTag
>". |
|
static void |
appendStorable2ArrayWithTags(StringBuffer source,
Storable[][] s,
String tag)
Appends an encoded two dimensional Storable array with equal tags
to the StringBuffer source . |
|
static void |
appendStorable2ArrayWithTags(StringBuffer source,
Storable[][] s,
String startTag,
String endTag)
Appends an encoded two dimensional Storable array with start and
end tag to the StringBuffer source . |
|
static void |
appendStorable3ArrayWithTags(StringBuffer source,
Storable[][][] s,
String tag)
Appends an encoded three dimensional Storable array with equal
tags to the StringBuffer source . |
|
static void |
appendStorable3ArrayWithTags(StringBuffer source,
Storable[][][] s,
String startTag,
String endTag)
Appends an encoded three dimensional Storable array with start
and end tag to the StringBuffer source . |
|
static void |
appendStorableArrayWithTags(StringBuffer source,
Storable[] s,
String tag)
Appends an encoded Storable array with equal tags to the
StringBuffer source . |
|
static void |
appendStorableArrayWithTags(StringBuffer source,
Storable[] s,
String startTag,
String endTag)
Appends an encoded Storable array with start and end tag to the
StringBuffer source . |
|
static void |
appendStorableOrNullWithTags(StringBuffer source,
Storable s,
String tag)
Appends a Storable object or "null" with equal tags to
the StringBuffer source . |
|
static void |
appendStorableOrNullWithTags(StringBuffer source,
Storable s,
String startTag,
String endTag)
Appends a Storable object or "null" with start and end
tag to the StringBuffer source . |
|
static void |
appendStorableWithTags(StringBuffer source,
Storable s,
String startTag)
Appends a Storable object with equal tags to the
StringBuffer source . |
|
static void |
appendStorableWithTags(StringBuffer source,
Storable s,
String startTag,
String endTag)
Appends a Storable object with start and end tag to the
StringBuffer source . |
|
static void |
appendString2ArrayWithTags(StringBuffer source,
String[][] s,
String tag)
Appends an encoded two dimensional String array with equal tags
to the StringBuffer source . |
|
static void |
appendString2ArrayWithTags(StringBuffer source,
String[][] s,
String startTag,
String endTag)
Appends an encoded two dimensional String array with start and
end tag to the StringBuffer source . |
|
static void |
appendStringArrayWithTags(StringBuffer source,
String[] s,
String tag)
Appends an encoded String array with equal tags to the
StringBuffer source . |
|
static void |
appendStringArrayWithTags(StringBuffer source,
String[] s,
String startTag,
String endTag)
Appends an encoded String array with start and end tag to the
StringBuffer source . |
|
static void |
appendStringWithTags(StringBuffer source,
String s,
String startTag)
Appends a String with equal tags to the StringBuffer
source in the following way: "<tag >
s </tag >". |
|
static void |
appendStringWithTags(StringBuffer source,
String s,
String startTag,
String endTag)
Appends a String with start and end tag to the
StringBuffer source in the following way: "<
startTag >s </endTag
>". |
|
protected static StringBuffer |
BooleanArrayWithTags(boolean[] b)
Encodes a boolean array. |
|
protected static StringBuffer |
ByteArrayWithTags(byte[] b)
Encodes a byte array. |
|
protected static StringBuffer |
DoubleArrayWithTags(double[] d)
Encodes a double array. |
|
static boolean[][] |
extractBoolean2ArrayForTag(StringBuffer source,
String tag)
Returns the value between equal start and end tags as a two dimensional boolean array. |
|
static boolean[][] |
extractBoolean2ArrayForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as a two dimensional boolean array. |
|
static boolean[] |
extractBooleanArrayForTag(StringBuffer source,
String tag)
Returns the value between equal start and end tags as a boolean array. |
|
static boolean[] |
extractBooleanArrayForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as a boolean
array. |
|
static boolean |
extractBooleanForTag(StringBuffer source,
String startTag)
Returns the value between equal start and end tags as boolean . |
|
static boolean |
extractBooleanForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as boolean . |
|
static byte[][] |
extractByte2ArrayForTag(StringBuffer source,
String startTag)
Returns the value between equal start and end tags as a two dimensional byte array. |
|
static byte[][] |
extractByte2ArrayForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as a two dimensional byte array. |
|
static byte[] |
extractByteArrayForTag(StringBuffer source,
String startTag)
Returns the value between equal start and end tags as a byte
array. |
|
static byte[] |
extractByteArrayForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as a byte array. |
|
static byte |
extractByteForTag(StringBuffer source,
String startTag)
Returns the value between equal start and end tags as byte . |
|
static byte |
extractByteForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as byte . |
|
static double[][] |
extractDouble2ArrayForTag(StringBuffer source,
String startTag)
Returns the value between equal start and end tags as a two dimensional double array. |
|
static double[][] |
extractDouble2ArrayForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as a two dimensional double array. |
|
static double[] |
extractDoubleArrayForTag(StringBuffer source,
String startTag)
Returns the value between equal start and end tags as a double array. |
|
static double[] |
extractDoubleArrayForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as a double
array. |
|
static double |
extractDoubleForTag(StringBuffer source,
String startTag)
Returns the value between equal start and end tags as double
. |
|
static double |
extractDoubleForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as double . |
|
static
|
extractEnumForTag(StringBuffer source,
String tag)
Returns the enumeration between equal start and end tags as Enum . |
|
static
|
extractEnumForTag(StringBuffer source,
String startTag,
String endTag)
Returns the enumeration between start and end tag as Enum . |
|
static StringBuffer |
extractForTag(StringBuffer source,
String tag)
Extracts the code between equal start and end tags and returns the substring between the tags as new StringBuffer . |
|
static StringBuffer |
extractForTag(StringBuffer source,
String startTag,
String endTag)
Extracts the code between start and end tag and returns the substring between the tags as new StringBuffer . |
|
static int[][] |
extractInt2ArrayForTag(StringBuffer source,
String startTag)
Returns the value between equal start and end tags as a two dimensional int array. |
|
static int[][] |
extractInt2ArrayForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as a two dimensional int array. |
|
static int[] |
extractIntArrayForTag(StringBuffer source,
String startTag)
Returns the value between equal start and end tags as an int
array. |
|
static int[] |
extractIntArrayForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as an int array. |
|
static int |
extractIntForTag(StringBuffer source,
String startTag)
Returns the value between equal start and end tags as int . |
|
static int |
extractIntForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as int . |
|
static long |
extractLongForTag(StringBuffer source,
String startTag)
Returns the value between equal start and end tags as long . |
|
static long |
extractLongForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as long . |
|
static Storable[][] |
extractStorable2ArrayForTag(StringBuffer source,
String tag)
Returns the value between equal start and end tags as a two dimensional Storable array. |
|
static Storable[][] |
extractStorable2ArrayForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as a two dimensional Storable array. |
|
static Storable[][][] |
extractStorable3ArrayForTag(StringBuffer source,
String tag)
Returns the value between equal start and end tags as a three dimensional Storable array. |
|
static Storable[][][] |
extractStorable3ArrayForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as a three dimensional Storable array. |
|
static Storable[] |
extractStorableArrayForTag(StringBuffer source,
String startTag)
Returns the value between equal start and end tags as a Storable
array. |
|
static Storable[] |
extractStorableArrayForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as a Storable array. |
|
static Storable |
extractStorableForTag(StringBuffer source,
String startTag)
Returns the value between equal start and end tags as Storable . |
|
static Storable |
extractStorableForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as Storable . |
|
static Storable |
extractStorableOrNullForTag(StringBuffer source,
String tag)
Returns the value between equal start and end tags as Storable or
null . |
|
static Storable |
extractStorableOrNullForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as Storable or
null . |
|
static String[][] |
extractString2ArrayForTag(StringBuffer source,
String tag)
Returns the value between equal start and end tags as a two dimensional String array. |
|
static String[][] |
extractString2ArrayForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as a two dimensional String array. |
|
static String[] |
extractStringArrayForTag(StringBuffer source,
String startTag)
Returns the value between equal start and end tags as a String
array. |
|
static String[] |
extractStringArrayForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as a String array. |
|
static String |
extractStringForTag(StringBuffer source,
String startTag)
Returns the value between equal start and end tags as a String . |
|
static String |
extractStringForTag(StringBuffer source,
String startTag,
String endTag)
Returns the value between start and end tag as a String . |
|
protected static StringBuffer |
IntArrayWithTags(int[] i)
Encodes an int array. |
|
protected static StringBuffer |
StorableArrayWithTags(Storable[] s)
Encodes a Storable array. |
|
protected static StringBuffer |
StringArrayWithTags(String[] s)
Encodes a String array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLParser()
Method Detail |
---|
public static StringBuffer extractForTag(StringBuffer source, String tag) throws NonParsableException
StringBuffer
.
source
- the source StringBuffer
that should be decoded from
XMLtag
- the tags between which the substring shall be taken (start tag
should be equal to end tag)
StringBuffer
NonParsableException
- if the substring could not be parsedextractForTag(StringBuffer, String, String)
public static StringBuffer extractForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
StringBuffer
.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
StringBuffer
NonParsableException
- if the substring could not be parsedpublic static boolean extractBooleanForTag(StringBuffer source, String startTag) throws NonParsableException
boolean
.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
boolean
NonParsableException
- if the value could not be parsedextractBooleanForTag(StringBuffer, String, String)
public static boolean extractBooleanForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
boolean
.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
boolean
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
public static byte extractByteForTag(StringBuffer source, String startTag) throws NonParsableException
byte
.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
byte
NonParsableException
- if the value could not be parsedextractByteForTag(StringBuffer, String, String)
public static byte extractByteForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
byte
.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
byte
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
public static <T extends Enum<T>> T extractEnumForTag(StringBuffer source, String tag) throws NonParsableException
Enum
.
T
- the type of the Enum
objectssource
- the source StringBuffer
that should be decoded from
XMLtag
- the tags between which the enumeration shall be taken (start
tag should be equal to end tag)
Enum
NonParsableException
- if the enumeration could not be parsedextractEnumForTag(StringBuffer, String, String)
public static <T extends Enum<T>> T extractEnumForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
Enum
.
T
- the type of the Enum
objectssource
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
Enum
NonParsableException
- if the enumeration could not be parsedextractForTag(StringBuffer, String, String)
public static int extractIntForTag(StringBuffer source, String startTag) throws NonParsableException
int
.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
int
NonParsableException
- if the value could not be parsedextractIntForTag(StringBuffer, String, String)
public static int extractIntForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
int
.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
int
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
public static long extractLongForTag(StringBuffer source, String startTag) throws NonParsableException
long
.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
long
NonParsableException
- if the value could not be parsedextractLongForTag(StringBuffer, String, String)
public static long extractLongForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
long
.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
long
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
public static double extractDoubleForTag(StringBuffer source, String startTag) throws NonParsableException
double
.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
double
NonParsableException
- if the value could not be parsedextractDoubleForTag(StringBuffer, String, String)
public static double extractDoubleForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
double
.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
double
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
public static Storable extractStorableForTag(StringBuffer source, String startTag) throws NonParsableException
Storable
.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
Storable
NonParsableException
- if the value could not be parsedextractStorableForTag(StringBuffer, String, String)
public static Storable extractStorableForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
Storable
.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
Storable
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
public static Storable extractStorableOrNullForTag(StringBuffer source, String tag) throws NonParsableException
Storable
or
null
.
source
- the source StringBuffer
that should be decoded from
XMLtag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
Storable
or
null
NonParsableException
- if the value could not be parsedextractStorableOrNullForTag(StringBuffer, String, String)
public static Storable extractStorableOrNullForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
Storable
or
null
.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
Storable
or
null
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
public static String extractStringForTag(StringBuffer source, String startTag) throws NonParsableException
String
.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
String
NonParsableException
- if the value could not be parsedextractStringForTag(StringBuffer, String, String)
public static String extractStringForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
String
.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
String
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
public static boolean[] extractBooleanArrayForTag(StringBuffer source, String tag) throws NonParsableException
boolean
array.
source
- the source StringBuffer
that should be decoded from
XMLtag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
boolean
array
NonParsableException
- if the value could not be parsedextractBooleanArrayForTag(StringBuffer, String, String)
public static boolean[] extractBooleanArrayForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
boolean
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
boolean
array
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
,
extractBooleanForTag(StringBuffer, String, String)
public static byte[] extractByteArrayForTag(StringBuffer source, String startTag) throws NonParsableException
byte
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
byte
array
NonParsableException
- if the value could not be parsedextractByteArrayForTag(StringBuffer, String, String)
public static byte[] extractByteArrayForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
byte
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
byte
array
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
,
extractByteForTag(StringBuffer, String, String)
public static int[] extractIntArrayForTag(StringBuffer source, String startTag) throws NonParsableException
int
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
int
array
NonParsableException
- if the value could not be parsedextractIntArrayForTag(StringBuffer, String, String)
public static int[] extractIntArrayForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
int
array.
source
- the source StringBuffer
startTag
- the start tagendTag
- the end tag
int
array
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
,
extractIntForTag(StringBuffer, String, String)
public static double[] extractDoubleArrayForTag(StringBuffer source, String startTag) throws NonParsableException
double
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
double
array
NonParsableException
- if the value could not be parsedextractDoubleArrayForTag(StringBuffer, String, String)
public static double[] extractDoubleArrayForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
double
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
double
array
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
,
extractDoubleForTag(StringBuffer, String, String)
public static Storable[] extractStorableArrayForTag(StringBuffer source, String startTag) throws NonParsableException
Storable
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
Storable
array
NonParsableException
- if the value could not be parsedextractStorableArrayForTag(StringBuffer, String, String)
,
ArrayHandler.cast(Object...)
public static Storable[] extractStorableArrayForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
Storable
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
Storable
array
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
,
extractStorableForTag(StringBuffer, String, String)
,
ArrayHandler.cast(Object...)
public static String[] extractStringArrayForTag(StringBuffer source, String startTag) throws NonParsableException
String
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
String
array
NonParsableException
- if the value could not be parsedextractStringArrayForTag(StringBuffer, String, String)
public static String[] extractStringArrayForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
String
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
String
array
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
,
extractStringForTag(StringBuffer, String, String)
public static Storable[][] extractStorable2ArrayForTag(StringBuffer source, String tag) throws NonParsableException
Storable
array.
source
- the source StringBuffer
that should be decoded from
XMLtag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
Storable
array
NonParsableException
- if the value could not be parsedextractStorable2ArrayForTag(StringBuffer, String, String)
public static Storable[][] extractStorable2ArrayForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
Storable
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
Storable
array
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
,
extractStorableArrayForTag(StringBuffer, String, String)
public static Storable[][][] extractStorable3ArrayForTag(StringBuffer source, String tag) throws NonParsableException
Storable
array.
source
- the source StringBuffer
that should be decoded from
XMLtag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
Storable
array
NonParsableException
- if the value could not be parsedextractStorable3ArrayForTag(StringBuffer, String, String)
public static Storable[][][] extractStorable3ArrayForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
Storable
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
Storable
array
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
,
extractStorable2ArrayForTag(StringBuffer, String, String)
public static boolean[][] extractBoolean2ArrayForTag(StringBuffer source, String tag) throws NonParsableException
boolean
array.
source
- the source StringBuffer
that should be decoded from
XMLtag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
boolean
array
NonParsableException
- if the value could not be parsedextractBoolean2ArrayForTag(StringBuffer, String, String)
public static boolean[][] extractBoolean2ArrayForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
boolean
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
boolean
array
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
,
extractBooleanArrayForTag(StringBuffer, String, String)
public static byte[][] extractByte2ArrayForTag(StringBuffer source, String startTag) throws NonParsableException
byte
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
byte
array
NonParsableException
- if the value could not be parsedextractByte2ArrayForTag(StringBuffer, String, String)
public static byte[][] extractByte2ArrayForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
byte
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
byte
array
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
,
extractByteArrayForTag(StringBuffer, String, String)
public static int[][] extractInt2ArrayForTag(StringBuffer source, String startTag) throws NonParsableException
int
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
int
array
NonParsableException
- if the value could not be parsedextractInt2ArrayForTag(StringBuffer, String, String)
public static int[][] extractInt2ArrayForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
int
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
int
array
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
,
extractIntArrayForTag(StringBuffer, String, String)
public static double[][] extractDouble2ArrayForTag(StringBuffer source, String startTag) throws NonParsableException
double
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
double
array
NonParsableException
- if the value could not be parsedextractDouble2ArrayForTag(StringBuffer, String, String)
public static double[][] extractDouble2ArrayForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
double
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
double
array
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
,
extractDoubleArrayForTag(StringBuffer, String, String)
public static String[][] extractString2ArrayForTag(StringBuffer source, String tag) throws NonParsableException
String
array.
source
- the source StringBuffer
that should be decoded from
XMLtag
- the tags between which the value shall be taken (start tag
should be equal to end tag)
String
array
NonParsableException
- if the value could not be parsedextractString2ArrayForTag(StringBuffer, String, String)
public static String[][] extractString2ArrayForTag(StringBuffer source, String startTag, String endTag) throws NonParsableException
String
array.
source
- the source StringBuffer
that should be decoded from
XMLstartTag
- the start tagendTag
- the end tag
String
array
NonParsableException
- if the value could not be parsedextractForTag(StringBuffer, String, String)
,
extractStringArrayForTag(StringBuffer, String, String)
public static void addTags(StringBuffer source, String tag)
StringBuffer
source
with equal tags
"< tag
>" and "</tag
>".
source
- the source StringBuffer
that should be encoded in XMLtag
- the tags by which the StringBuffer
should be framed
(start tag should be equal to end tag)addTags(StringBuffer, String, String)
public static void addTags(StringBuffer source, String startTag, String endTag)
StringBuffer
source
with "<
startTag
>" and "</endTag
>".
source
- the source StringBuffer
that should be encoded in XMLstartTag
- the start tagendTag
- the end tagpublic static void appendBooleanWithTags(StringBuffer source, boolean b, String tag)
boolean
value with equal tags to the
StringBuffer
source
in the following way: "<
tag
>b
</tag
>".
source
- the source StringBuffer
that should be encoded in XMLb
- the value that should be framed by the tags and appended to
the sourcetag
- the tags by which the value should be framed (start tag should
be equal to end tag)appendBooleanWithTags(StringBuffer, boolean, String,
String)
public static void appendBooleanWithTags(StringBuffer source, boolean b, String startTag, String endTag)
boolean
value with start and end tag to the
StringBuffer
source
in the following way: "<
startTag
>b
</endTag
>".
source
- the source StringBuffer
that should be encoded in XMLb
- the value that should be framed by start and end tag and
appended to the sourcestartTag
- the start tagendTag
- the end tagpublic static void appendByteWithTags(StringBuffer source, byte b, String tag)
byte
value with equal tags to the
StringBuffer
source
in the following way: "<
tag
>b
</tag
>".
source
- the source StringBuffer
that should be encoded in XMLb
- the value that should be framed by the tags and appended to
the sourcetag
- the tags by which the value should be framed (start tag should
be equal to end tag)appendByteWithTags(StringBuffer, byte, String, String)
public static void appendByteWithTags(StringBuffer source, byte b, String startTag, String endTag)
byte
value with start and end tag to the
StringBuffer
source
in the following way: "<
startTag
>b
</endTag
>".
source
- the source StringBuffer
that should be encoded in XMLb
- the value that should be framed by start and end tag and
appended to the sourcestartTag
- the start tagendTag
- the end tagpublic static <T extends Enum<T>> void appendEnumWithTags(StringBuffer source, Enum<T> e, String tag)
Enum
object with equal tags to the
StringBuffer
source
.
T
- the type of the Enum
objectssource
- the source StringBuffer
that should be encoded in XMLe
- the enumeration that should be framed by the tags and appended
to the sourcetag
- the tags by which the enumeration should be framed (start tag
should be equal to end tag)appendEnumWithTags(StringBuffer, Enum, String, String)
public static <T extends Enum<T>> void appendEnumWithTags(StringBuffer source, Enum<T> e, String startTag, String endTag)
Enum
object with start and end tag to the
StringBuffer
source
.
T
- the type of the Enum
objectssource
- the source StringBuffer
that should be encoded in XMLe
- the enumeration that should be framed by start and end tag and
appended to the sourcestartTag
- the start tagendTag
- the end tagappendStringWithTags(StringBuffer, String, String, String)
public static void appendIntWithTags(StringBuffer source, int i, String tag)
int
value with equal tags to the
StringBuffer
source
in the following way: "<
tag
>i
</tag
>"
source
- the source StringBuffer
that should be encoded in XMLi
- the value that should be framed by the tags and appended to
the sourcetag
- the tags by which the value should be framed (start tag should
be equal to end tag)appendIntWithTags(StringBuffer, int, String, String)
public static void appendIntWithTags(StringBuffer source, int i, String startTag, String endTag)
int
value with start and end tag to the
StringBuffer
source
in the following way: "<
startTag
>i
</endTag
>".
source
- the source StringBuffer
that should be encoded in XMLi
- the value that should be framed by start and end tag and
appended to the sourcestartTag
- the start tagendTag
- the end tagpublic static void appendLongWithTags(StringBuffer source, long i, String tag)
long
value with equal tags to the
StringBuffer
source
in the following way: "<
tag
>i
</tag
>".
source
- the source StringBuffer
that should be encoded in XMLi
- the value that should be framed by the tags and appended to
the sourcetag
- the tags by which the value should be framed (start tag should
be equal to end tag)appendLongWithTags(StringBuffer, long, String, String)
public static void appendLongWithTags(StringBuffer source, long i, String startTag, String endTag)
long
value with start and end tag to the
StringBuffer
source
in the following way: "<
startTag
>i
</endTag
>".
source
- the source StringBuffer
that should be encoded in XMLi
- the value that should be framed by start and end tag and
appended to the sourcestartTag
- the start tagendTag
- the end tagpublic static void appendDoubleWithTags(StringBuffer source, double d, String startTag)
double
value with equal tags to the
StringBuffer
source
in the following way: "<
tag
>d
</tag
>".
source
- the source StringBuffer
that should be encoded in XMLd
- the value that should be framed by the tags and appended to
the sourcestartTag
- the tags by which the value should be framed (start tag should
be equal to end tag)appendDoubleWithTags(StringBuffer, double, String, String)
public static void appendDoubleWithTags(StringBuffer source, double d, String startTag, String endTag)
double
value with start and end tag to the
StringBuffer
source
in the following way: "<
startTag
>d
</endTag
>".
source
- the source StringBuffer
that should be encoded in XMLd
- the value that should be framed by start and end tag and
appended to the sourcestartTag
- the start tagendTag
- the end tagpublic static void appendStorableWithTags(StringBuffer source, Storable s, String startTag)
Storable
object with equal tags to the
StringBuffer
source
.
source
- the source StringBuffer
that should be encoded in XMLs
- the object that should be framed by the tags and appended to
the sourcestartTag
- the tags by which the object should be framed (start tag
should be equal to end tag)appendStorableWithTags(StringBuffer, Storable, String,
String)
public static void appendStorableWithTags(StringBuffer source, Storable s, String startTag, String endTag)
Storable
object with start and end tag to the
StringBuffer
source
.
source
- the source StringBuffer
that should be encoded in XMLs
- the object that should be framed by start and end tag and
appended to the sourcestartTag
- the start tagendTag
- the end tagpublic static void appendStorableOrNullWithTags(StringBuffer source, Storable s, String tag)
Storable
object or "null" with equal tags to
the StringBuffer
source
.
source
- the source StringBuffer
that should be encoded in XMLs
- the object that should be framed by the tags and appended to
the source, if null
then "null" framed
by the tags is appended to the sourcetag
- the tags by which the object or "null" should be
framed (start tag should be equal to end tag)appendStorableOrNullWithTags(StringBuffer, Storable,
String, String)
public static void appendStorableOrNullWithTags(StringBuffer source, Storable s, String startTag, String endTag)
Storable
object or "null" with start and end
tag to the StringBuffer
source
.
source
- the source StringBuffer
that should be encoded in XMLs
- the object that should be framed by start and end tag and
appended to the source, if null
then
"null" framed by start and end tag is appended to
the sourcestartTag
- the start tagendTag
- the end tagpublic static void appendStringWithTags(StringBuffer source, String s, String startTag)
String
with equal tags to the StringBuffer
source
in the following way: "<tag
>
s
</tag
>".
source
- the source StringBuffer
that should be encoded in XMLs
- the String
that should be framed by the tags and
appended to the sourcestartTag
- the tags by which the String
should be framed (start
tag should be equal to end tag)appendStringWithTags(StringBuffer, String, String, String)
public static void appendStringWithTags(StringBuffer source, String s, String startTag, String endTag)
String
with start and end tag to the
StringBuffer
source
in the following way: "<
startTag
>s
</endTag
>".
source
- the source StringBuffer
that should be encoded in XMLs
- the value that should be framed by start and end tag and
appended to the sourcestartTag
- the start tagendTag
- the end tagprotected static StringBuffer ByteArrayWithTags(byte[] b)
byte
array. The encoding is the following way:
b
- the array that should be encoded
StringBuffer
representing the encoded arrayappendIntWithTags(StringBuffer, int, String)
,
appendByteWithTags(StringBuffer, byte, String, String)
protected static StringBuffer IntArrayWithTags(int[] i)
int
array. The encoding is like in
ByteArrayWithTags(byte[])
.
i
- the array that should be encoded
StringBuffer
representing the encoded arrayByteArrayWithTags(byte[])
,
appendIntWithTags(StringBuffer, int, String)
,
appendIntWithTags(StringBuffer, int, String, String)
protected static StringBuffer DoubleArrayWithTags(double[] d)
double
array. The encoding is like in
ByteArrayWithTags(byte[])
.
d
- the array that should be encoded
StringBuffer
representing the encoded arrayByteArrayWithTags(byte[])
,
appendIntWithTags(StringBuffer, int, String)
,
appendDoubleWithTags(StringBuffer, double, String, String)
protected static StringBuffer BooleanArrayWithTags(boolean[] b)
boolean
array. The encoding is like in
ByteArrayWithTags(byte[])
.
b
- the array that should be encoded
StringBuffer
representing the encoded arrayByteArrayWithTags(byte[])
,
appendIntWithTags(StringBuffer, int, String)
,
appendBooleanWithTags(StringBuffer, boolean, String,
String)
protected static StringBuffer StringArrayWithTags(String[] s)
String
array. The encoding is like in
ByteArrayWithTags(byte[])
.
s
- the array that should be encoded
StringBuffer
representing the encoded arrayByteArrayWithTags(byte[])
,
appendIntWithTags(StringBuffer, int, String)
,
appendStringWithTags(StringBuffer, String, String, String)
protected static StringBuffer StorableArrayWithTags(Storable[] s)
Storable
array. The encoding is like in
ByteArrayWithTags(byte[])
.
s
- the Storable
object that should be encoded
StringBuffer
representing the encoded Storable
objectByteArrayWithTags(byte[])
,
appendIntWithTags(StringBuffer, int, String)
,
appendStorableWithTags(StringBuffer, Storable, String,
String)
public static void appendBooleanArrayWithTags(StringBuffer source, boolean[] b, String tag)
boolean
array with equal tags to the
StringBuffer
source
. The encoding is like in
appendByteArrayWithTags(StringBuffer, byte[], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLb
- the array that should be encoded and appended to the source
framed by the tagstag
- the tags by which the encoded array should be framed (start
tag should be equal to end tag)appendByteArrayWithTags(StringBuffer, byte[], String,
String)
,
appendBooleanArrayWithTags(StringBuffer, boolean[],
String, String)
public static void appendBooleanArrayWithTags(StringBuffer source, boolean[] b, String startTag, String endTag)
boolean
array with start and end tag to
the StringBuffer
source
. The encoding is like in
appendByteArrayWithTags(StringBuffer, byte[], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLb
- the array that should be encoded and appended to the source
framed by start and end tagstartTag
- the start tagendTag
- the end tagappendByteArrayWithTags(StringBuffer, byte[], String,
String)
,
BooleanArrayWithTags(boolean[])
,
addTags(StringBuffer, String, String)
public static void appendByteArrayWithTags(StringBuffer source, byte[] b, String tag)
byte
array with equal tags to the
StringBuffer
source
. The encoding is like in
appendByteArrayWithTags(StringBuffer, byte[], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLb
- the array that should be encoded and appended to the source
framed by the tagstag
- the tags by which the encoded array should be framed (start
tag should be equal to end tag)appendByteArrayWithTags(StringBuffer, byte[], String,
String)
public static void appendByteArrayWithTags(StringBuffer source, byte[] b, String startTag, String endTag)
byte
array with start and end tag to the
StringBuffer
source
. The encoding is this way: startTag
> <length>b.length</length> /endTag
>.
source
- the source StringBuffer
that should be encoded in XMLb
- the array that should be encoded and appended to the source
framed by start and end tagstartTag
- the start tagendTag
- the end tagByteArrayWithTags(byte[])
,
addTags(StringBuffer, String, String)
public static void appendIntArrayWithTags(StringBuffer source, int[] i, String tag)
int
array with equal tags to the
StringBuffer
source
. The encoding is like in
appendByteArrayWithTags(StringBuffer, byte[], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLi
- the array that should be encoded and appended to the source
framed by the tagstag
- the tags by which the encoded array should be framed (start
tag should be equal to end tag)appendByteArrayWithTags(StringBuffer, byte[], String,
String)
,
appendIntArrayWithTags(StringBuffer, int[], String,
String)
public static void appendIntArrayWithTags(StringBuffer source, int[] i, String startTag, String endTag)
int
array with start and end tag to the
StringBuffer
source
. The encoding is like in
appendByteArrayWithTags(StringBuffer, byte[], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLi
- the array that should be encoded and appended to the source
framed by start and end tagstartTag
- the start tagendTag
- the end tagappendByteArrayWithTags(StringBuffer, byte[], String,
String)
,
IntArrayWithTags(int[])
,
addTags(StringBuffer, String, String)
public static void appendDoubleArrayWithTags(StringBuffer source, double[] d, String tag)
double
array with equal tags to the
StringBuffer
source
. The encoding is like in like in
appendByteArrayWithTags(StringBuffer, byte[], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLd
- the array that should be encoded and appended to the source
framed by the tagstag
- the tags by which the encoded array should be framed (start
tag should be equal to end tag)appendByteArrayWithTags(StringBuffer, byte[], String,
String)
,
appendDoubleArrayWithTags(StringBuffer, double[], String,
String)
public static void appendDoubleArrayWithTags(StringBuffer source, double[] d, String startTag, String endTag)
double
array with start and end tag to
the StringBuffer
source
. The encoding is like in
like in
appendByteArrayWithTags(StringBuffer, byte[], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLd
- the array that should be encoded and appended to the source
framed by start and end tagstartTag
- the start tagendTag
- the end tagappendByteArrayWithTags(StringBuffer, byte[], String,
String)
,
DoubleArrayWithTags(double[])
,
addTags(StringBuffer, String, String)
public static void appendStorableArrayWithTags(StringBuffer source, Storable[] s, String tag)
Storable
array with equal tags to the
StringBuffer
source
. The encoding is like in like in
appendByteArrayWithTags(StringBuffer, byte[], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLs
- the Storable
array that should be encoded and appended
to the source framed by the tagstag
- the tags by which the encoded Storable
array should be
framed (start tag should be equal to end tag)appendByteArrayWithTags(StringBuffer, byte[], String,
String)
,
appendStorableArrayWithTags(StringBuffer, Storable[],
String, String)
public static void appendStorableArrayWithTags(StringBuffer source, Storable[] s, String startTag, String endTag)
Storable
array with start and end tag to the
StringBuffer
source
. The encoding is like in like in
appendByteArrayWithTags(StringBuffer, byte[], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLs
- the Storable
array that should be encoded and appended
to the source framed by start and end tagstartTag
- the start tagendTag
- the end tagappendByteArrayWithTags(StringBuffer, byte[], String,
String)
,
StorableArrayWithTags(Storable[])
,
addTags(StringBuffer, String, String)
public static void appendStringArrayWithTags(StringBuffer source, String[] s, String tag)
String
array with equal tags to the
StringBuffer
source
. The encoding is like in
appendByteArrayWithTags(StringBuffer, byte[], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLs
- the array that should be encoded and appended to the source
framed by the tagstag
- the tags by which the encoded array should be framed (start
tag should be equal to end tag)appendByteArrayWithTags(StringBuffer, byte[], String,
String)
,
appendStringArrayWithTags(StringBuffer, String[], String,
String)
public static void appendStringArrayWithTags(StringBuffer source, String[] s, String startTag, String endTag)
String
array with start and end tag to the
StringBuffer
source
. The encoding is like in
appendByteArrayWithTags(StringBuffer, byte[], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLs
- the array that should be encoded and appended to the source
framed by start and end tagstartTag
- the start tagendTag
- the end tagappendByteArrayWithTags(StringBuffer, byte[], String,
String)
,
StringArrayWithTags(String[])
,
addTags(StringBuffer, String, String)
public static void appendBoolean2ArrayWithTags(StringBuffer source, boolean[][] i, String tag)
boolean
array with equal
tags to the StringBuffer
source
. The encoding is
like in
appendByte2ArrayWithTags(StringBuffer, byte[][], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLi
- the two dimensional array that should be encoded and appended
to the source framed by the tagstag
- the tags by which the encoded two dimensional array should be
framed (start tag should be equal to end tag)appendByte2ArrayWithTags(StringBuffer, byte[][], String,
String)
,
appendBoolean2ArrayWithTags(StringBuffer, boolean[][],
String, String)
public static void appendBoolean2ArrayWithTags(StringBuffer source, boolean[][] i, String startTag, String endTag)
boolean
array with start
and end tag to the StringBuffer
source
. The encoding
is is like in
appendByte2ArrayWithTags(StringBuffer, byte[][], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLi
- the two dimensional array that should be encoded and appended
to the source framed by start and end tagstartTag
- the start tagendTag
- the end tagappendByte2ArrayWithTags(StringBuffer, byte[][], String,
String)
,
appendIntWithTags(StringBuffer, int, String)
,
BooleanArrayWithTags(boolean[])
,
addTags(StringBuffer, String, String)
public static void appendByte2ArrayWithTags(StringBuffer source, byte[][] i, String tag)
byte
array with equal
tags to the StringBuffer
source
. The encoding is
like in
appendByte2ArrayWithTags(StringBuffer, byte[][], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLi
- the two dimensional array that should be encoded and appended
to the source framed by the tagstag
- the tags by which the encoded two dimensional array should be
framed (start tag should be equal to end tag)appendByte2ArrayWithTags(StringBuffer, byte[][], String,
String)
public static void appendByte2ArrayWithTags(StringBuffer source, byte[][] i, String startTag, String endTag)
byte
array with start and
end tag to the StringBuffer
source
. The encoding is
the following way:
source
- the source StringBuffer
that should be encoded in XMLi
- the two dimensional array that should be encoded and appended
to the source framed by start and end tagstartTag
- the start tagendTag
- the end tagappendIntWithTags(StringBuffer, int, String)
,
ByteArrayWithTags(byte[])
,
addTags(StringBuffer, String, String)
public static void appendInt2ArrayWithTags(StringBuffer source, int[][] i, String tag)
int
array with equal tags
to the StringBuffer
source
. The encoding is like in
appendByte2ArrayWithTags(StringBuffer, byte[][], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLi
- the two dimensional array that should be encoded and appended
to the source framed by the tagstag
- the tags by which the encoded two dimensional array should be
framed (start tag should be equal to end tag)appendByte2ArrayWithTags(StringBuffer, byte[][], String,
String)
,
appendInt2ArrayWithTags(StringBuffer, int[][], String,
String)
public static void appendInt2ArrayWithTags(StringBuffer source, int[][] i, String startTag, String endTag)
int
array with start and
end tag to the StringBuffer
source
. The encoding is
like in
appendByte2ArrayWithTags(StringBuffer, byte[][], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLi
- the two dimensional array that should be encoded and appended
to the source framed by start and end tagstartTag
- the start tagendTag
- the end tagappendByte2ArrayWithTags(StringBuffer, byte[][], String,
String)
,
appendIntWithTags(StringBuffer, int, String)
,
IntArrayWithTags(int[])
,
addTags(StringBuffer, String, String)
public static void appendDouble2ArrayWithTags(StringBuffer source, double[][] d, String tag)
double
array with equal
tags to the StringBuffer
source
. The encoding is
like in
appendByte2ArrayWithTags(StringBuffer, byte[][], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLd
- the two dimensional array that should be encoded and appended
to the source framed by the tagstag
- the tags by which the encoded two dimensional array should be
framed (start tag should be equal to end tag)appendByte2ArrayWithTags(StringBuffer, byte[][], String,
String)
,
appendDouble2ArrayWithTags(StringBuffer, double[][],
String, String)
public static void appendDouble2ArrayWithTags(StringBuffer source, double[][] d, String startTag, String endTag)
double
array with start
and end tag to the StringBuffer
source
. The encoding
is like in
appendByte2ArrayWithTags(StringBuffer, byte[][], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLd
- the two dimensional array that should be encoded and appended
to the source framed by start and end tagstartTag
- the start tagendTag
- the end tagappendByte2ArrayWithTags(StringBuffer, byte[][], String,
String)
,
appendIntWithTags(StringBuffer, int, String)
,
DoubleArrayWithTags(double[])
,
addTags(StringBuffer, String, String)
public static void appendStorable2ArrayWithTags(StringBuffer source, Storable[][] s, String tag)
Storable
array with equal tags
to the StringBuffer
source
. The encoding is like in
appendByte2ArrayWithTags(StringBuffer, byte[][], String, String)
source
- the source StringBuffer
that should be encoded in XMLs
- the two dimensional Storable
array that should be
encoded and appended to the source framed by the tagstag
- the tags by which the encoded two dimensional Storable
array should be framed (start tag should be equal to end tag)appendByte2ArrayWithTags(StringBuffer, byte[][], String,
String)
,
appendStorable2ArrayWithTags(StringBuffer, Storable[][],
String, String)
public static void appendStorable2ArrayWithTags(StringBuffer source, Storable[][] s, String startTag, String endTag)
Storable
array with start and
end tag to the StringBuffer
source
. The encoding is
like in
appendByte2ArrayWithTags(StringBuffer, byte[][], String, String)
source
- the source StringBuffer
that should be encoded in XMLs
- the two dimensional Storable
array that should be
encoded and appended to the source framed by start and end tagstartTag
- the start tagendTag
- the end tagappendByte2ArrayWithTags(StringBuffer, byte[][], String,
String)
,
appendIntWithTags(StringBuffer, int, String)
,
StorableArrayWithTags(Storable[])
,
addTags(StringBuffer, String, String)
public static void appendStorable3ArrayWithTags(StringBuffer source, Storable[][][] s, String tag)
Storable
array with equal
tags to the StringBuffer
source
.
source
- the source StringBuffer
that should be encoded in XMLs
- the three dimensional Storable
array that should be
encoded and appended to the source framed by the tagstag
- the tags by which the encoded three dimensional
Storable
array should be framed (start tag should be
equal to end tag)appendStorable3ArrayWithTags(StringBuffer, Storable[][][],
String, String)
public static void appendStorable3ArrayWithTags(StringBuffer source, Storable[][][] s, String startTag, String endTag)
Storable
array with start
and end tag to the StringBuffer
source
.
source
- the source StringBuffer
that should be encoded in XMLs
- the three dimensional Storable
array that should be
encoded and appended to the source framed by start and end tagstartTag
- the start tagendTag
- the end tagappendIntWithTags(StringBuffer, int, String)
,
appendStorable2ArrayWithTags(StringBuffer, Storable[][],
String, String)
,
addTags(StringBuffer, String, String)
public static void appendString2ArrayWithTags(StringBuffer source, String[][] s, String tag)
String
array with equal tags
to the StringBuffer
source
. The encoding is like in
appendByte2ArrayWithTags(StringBuffer, byte[][], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLs
- the two dimensional array that should be encoded and appended
to the source framed by the tagstag
- the tags by which the encoded two dimensional array should be
framed (start tag should be equal to end tag)appendByte2ArrayWithTags(StringBuffer, byte[][], String,
String)
,
appendString2ArrayWithTags(StringBuffer, String[][],
String, String)
public static void appendString2ArrayWithTags(StringBuffer source, String[][] s, String startTag, String endTag)
String
array with start and
end tag to the StringBuffer
source
. The encoding is
like in
appendByte2ArrayWithTags(StringBuffer, byte[][], String, String)
.
source
- the source StringBuffer
that should be encoded in XMLs
- the two dimensional array that should be encoded and appended
to the source framed by start and end tagstartTag
- the start tagendTag
- the end tagappendByte2ArrayWithTags(StringBuffer, byte[][], String,
String)
,
appendIntWithTags(StringBuffer, int, String)
,
StringArrayWithTags(String[])
,
addTags(StringBuffer, String, String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |