public static interface XMLLibrary.XMLTag
Modifier and Type | Method | Description |
---|---|---|
void |
addContent(XMLLibrary.XMLTag x) |
|
java.util.List<XMLLibrary.XMLTag> |
contents() |
|
XMLLibrary.XMLTag |
copyOf() |
|
boolean |
getBoolFromPieces(java.lang.String tag) |
Return the data value within a given XML block
<TAG>Data</TAG>
Usage: String ThisColHead=getBoolFromPieces(ThisRow,"TD");
|
boolean |
getBoolFromPieces(java.lang.String tag,
boolean defValue) |
Return the data value within a given XML block
<TAG>Data</TAG>
Usage: String ThisColHead=getBoolFromPieces(ThisRow,"TD");
|
java.util.List<XMLLibrary.XMLTag> |
getContentsFromPieces(java.lang.String tag) |
Returns the contents of a container tag, searched for in
another container tags contents
|
double |
getDoubleFromPieces(java.lang.String tag) |
Return the data value within a given XML block
<TAG>Data</TAG>
Usage: String ThisColHead=getDoubleFromPieces(ThisRow,"TD");
|
double |
getDoubleFromPieces(java.lang.String tag,
double defVal) |
Return the data value within a given XML block
<TAG>Data</TAG>
Usage: String ThisColHead=getDoubleFromPieces(ThisRow,"TD");
|
int |
getIntFromPieces(java.lang.String tag) |
Return the data value within a given XML block
<TAG>Data</TAG>
Usage: String ThisColHead=getIntFromPieces(ThisRow,"TD");
|
int |
getIntFromPieces(java.lang.String tag,
int defVal) |
Return the data value within a given XML block
<TAG>Data</TAG>
Usage: String ThisColHead=getIntFromPieces(ThisRow,"TD");
|
long |
getLongFromPieces(java.lang.String tag) |
Return the data value within a given XML block
<TAG>Data</TAG>
Usage: String ThisColHead=getLongFromPieces(ThisRow,"TD");
|
long |
getLongFromPieces(java.lang.String tag,
long defVal) |
Return the data value within a given XML block
<TAG>Data</TAG>
Usage: String ThisColHead=getLongFromPieces(ThisRow,"TD");
|
java.lang.String |
getParmValue(java.lang.String Tag) |
Return a parameter value within an XML tag
<TAG Parameter="VALUE">
Usage: String ThisColHead=getParmValue(parmSet,"TD");
|
XMLLibrary.XMLTag |
getPieceFromPieces(java.lang.String tag) |
Returns the xml tag node for the given tag name, if found in the
given tag container contents
|
java.util.List<XMLLibrary.XMLTag> |
getPiecesFromPieces(java.lang.String tag) |
Returns all tags inside the gives set that match this tag name
|
short |
getShortFromPieces(java.lang.String tag) |
Return the data value within a given XML block
<TAG>Data</TAG>
Usage: String ThisColHead=getShortFromPieces(ThisRow,"TD");
|
short |
getShortFromPieces(java.lang.String tag,
short defVal) |
Return the data value within a given XML block
<TAG>Data</TAG>
Usage: String ThisColHead=getShortFromPieces(ThisRow,"TD");
|
java.lang.String |
getValFromPieces(java.lang.String tag) |
Returns the value of the tag, if it exists in the given
tag collection
|
java.lang.String |
getValFromPieces(java.lang.String tag,
java.lang.String defValue) |
Returns the value of the tag, if it exists in the given
tag collection
|
int |
innerEndIndex() |
|
int |
innerStartIndex() |
|
boolean |
isTagInPieces(java.lang.String tag) |
Return where the value is within a given XML block
<TAG>Data</TAG>
Usage: boolean ThisColHead=isTagInPieces(ThisRow,"TD");
|
int |
outerEndIndex() |
|
int |
outerStartIndex() |
|
XMLLibrary.XMLTag |
parent() |
|
java.util.Map<java.lang.String,java.lang.String> |
parms() |
|
void |
setValue(java.lang.String newVal) |
Sets new value
Be very careful with this
|
java.lang.String |
tag() |
|
java.lang.String |
toString() |
|
java.lang.String |
value() |
XMLLibrary.XMLTag copyOf()
void addContent(XMLLibrary.XMLTag x)
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String tag()
java.lang.String value()
void setValue(java.lang.String newVal)
newVal
- the new valuejava.util.List<XMLLibrary.XMLTag> contents()
java.util.Map<java.lang.String,java.lang.String> parms()
XMLLibrary.XMLTag parent()
int outerStartIndex()
int innerStartIndex()
int innerEndIndex()
int outerEndIndex()
java.lang.String getParmValue(java.lang.String Tag)
Tag
- Tag to search fordouble getDoubleFromPieces(java.lang.String tag, double defVal)
tag
- Tag to search fordefVal
- the value to return if the tag doesn't existXMLLibrary.XMLTag getPieceFromPieces(java.lang.String tag)
tag
- the tag nameboolean getBoolFromPieces(java.lang.String tag, boolean defValue)
tag
- Tag to search fordefValue
- the value to return if the tag doesn't existshort getShortFromPieces(java.lang.String tag, short defVal)
tag
- Tag to search fordefVal
- the value to return if the tag doesn't existint getIntFromPieces(java.lang.String tag, int defVal)
tag
- Tag to search fordefVal
- the value to return if the tag doesn't existlong getLongFromPieces(java.lang.String tag, long defVal)
tag
- Tag to search fordefVal
- the value to return if the tag doesn't existjava.lang.String getValFromPieces(java.lang.String tag)
tag
- the tag to look forjava.lang.String getValFromPieces(java.lang.String tag, java.lang.String defValue)
tag
- the tag to look fordefValue
- the value to return if the tag doesn't existjava.util.List<XMLLibrary.XMLTag> getContentsFromPieces(java.lang.String tag)
tag
- the tag to look forjava.util.List<XMLLibrary.XMLTag> getPiecesFromPieces(java.lang.String tag)
tag
- the tag to look forboolean getBoolFromPieces(java.lang.String tag)
tag
- Tag to search forshort getShortFromPieces(java.lang.String tag)
tag
- Tag to search forint getIntFromPieces(java.lang.String tag)
tag
- Tag to search forboolean isTagInPieces(java.lang.String tag)
tag
- Tag to search forlong getLongFromPieces(java.lang.String tag)
tag
- Tag to search fordouble getDoubleFromPieces(java.lang.String tag)
tag
- Tag to search for