Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
I
N
O
P
Q
R
S
T
U
X
A
add(Element)
- Method in class com.twicom.qdparser.
TaggedElement
adds a child to the end of this element
add(int, Element)
- Method in class com.twicom.qdparser.
TaggedElement
inserts a child into this element.
add(String)
- Method in class com.twicom.qdparser.
TaggedElement
adds a child to the end of this element
add(int, String)
- Method in class com.twicom.qdparser.
TaggedElement
inserts a child into this element If the index is out of range, the child is added at the end
attributes
- Variable in class com.twicom.qdparser.
TaggedElement
C
clearElements()
- Method in class com.twicom.qdparser.
TaggedElement
removes the children from this element
clone()
- Method in class com.twicom.qdparser.
Element
clone()
- Method in class com.twicom.qdparser.
TaggedElement
clone()
- Method in class com.twicom.qdparser.
TextElement
com.twicom.qdparser
- package com.twicom.qdparser
D
delAttribute(String)
- Method in class com.twicom.qdparser.
TaggedElement
removes the named attribute
DocHandler
- Interface in
com.twicom.qdparser
Interface for callbacks for the XML parser.
E
Element
- Class in
com.twicom.qdparser
This is the base class for the XML Elements.
Element()
- Constructor for class com.twicom.qdparser.
Element
Class constructor.
elements
- Variable in class com.twicom.qdparser.
TaggedElement
elements()
- Method in class com.twicom.qdparser.
TaggedElement
gets the number of child elements this element has
endDocument()
- Method in interface com.twicom.qdparser.
DocHandler
Called to indicate the end of the XML document being read
endDocument()
- Method in class com.twicom.qdparser.
XMLReader
endElement(String, String)
- Method in interface com.twicom.qdparser.
DocHandler
Called to indicate the end of a tagged element
endElement(String, String)
- Method in class com.twicom.qdparser.
XMLReader
F
find(String)
- Method in class com.twicom.qdparser.
TaggedElement
Finds a named child tagged element.
findIndex(String)
- Method in class com.twicom.qdparser.
TaggedElement
Finds the index of a named child tagged element.
G
getAttribute(String)
- Method in class com.twicom.qdparser.
TaggedElement
gets the specified attribute of this element
getAttribute(String, String)
- Method in class com.twicom.qdparser.
TaggedElement
gets the specified attribute of this element but returns given default value if the attribute does not exist
getAttributes()
- Method in class com.twicom.qdparser.
TaggedElement
gets the attributes in the form of an indexed table
getCData()
- Method in class com.twicom.qdparser.
TextElement
Gets the value of the CDATA boolean
getChild(int)
- Method in class com.twicom.qdparser.
TaggedElement
gets a child from the specified place in this element
getCol()
- Method in class com.twicom.qdparser.
TaggedElement
gets the XML source code cloumn number where this element was declared.
getComment()
- Method in class com.twicom.qdparser.
TaggedElement
get the comment associated with this element
getElements()
- Method in class com.twicom.qdparser.
TaggedElement
gets a list of the children of this element.
getInteger()
- Method in class com.twicom.qdparser.
TextElement
Gets the value of this TextElement as an integer.
getLine()
- Method in class com.twicom.qdparser.
TaggedElement
gets the XML source code line number where this element was declared.
getName()
- Method in class com.twicom.qdparser.
TaggedElement
gets the original tag name
getNameSpace()
- Method in class com.twicom.qdparser.
TaggedElement
gets the name space name
getNamespacePrefix()
- Method in class com.twicom.qdparser.
TaggedElement
Gets the namespace prefix to be used for the namespace attribute when printing out the element
getTag()
- Method in class com.twicom.qdparser.
TaggedElement
gets the name part of the tag
H
hasAttribute(String)
- Method in class com.twicom.qdparser.
TaggedElement
finds out whether an attribute exists
hasAttributes()
- Method in class com.twicom.qdparser.
TaggedElement
finds out whether this element has any attributes
hasElements()
- Method in class com.twicom.qdparser.
TaggedElement
finds out whether this element has any child elements
I
integer
- Variable in class com.twicom.qdparser.
TextElement
isNumber()
- Method in class com.twicom.qdparser.
TextElement
checks to see if this TextElement contains a numeric value
iterator()
- Method in class com.twicom.qdparser.
TaggedElement
N
name
- Variable in class com.twicom.qdparser.
TaggedElement
nameSpace
- Variable in class com.twicom.qdparser.
TaggedElement
newElement(String)
- Static method in class com.twicom.qdparser.
Element
Creates a new TaggedElement or TextElement depending on the argument
O
openResource(String)
- Static method in class com.twicom.qdparser.
XMLReader
gets a local resource and returns it as a Reader input stream
P
parse(DocHandler, Reader)
- Static method in class com.twicom.qdparser.
QDParser
Parses XML from a reader and returns a data structure containg the parsed XML.
parse(String)
- Static method in class com.twicom.qdparser.
XMLReader
parse(String, String)
- Static method in class com.twicom.qdparser.
XMLReader
parse()
- Method in class com.twicom.qdparser.
XMLReader
parses the XML and returns one top level XML class element
Q
QDParser
- Class in
com.twicom.qdparser
Quick and Dirty xml parser.
QDParser()
- Constructor for class com.twicom.qdparser.
QDParser
quote(String)
- Static method in class com.twicom.qdparser.
Element
quotes a string according to XML rules.
R
remove(int)
- Method in class com.twicom.qdparser.
TaggedElement
Removes a child from this element
remove(Element)
- Method in class com.twicom.qdparser.
TaggedElement
Removes a child from this element
replace(int, Element)
- Method in class com.twicom.qdparser.
TaggedElement
replaces a child element with the one given
S
setAttribute(String, String)
- Method in class com.twicom.qdparser.
TaggedElement
sets an attribute of this element
setCData(boolean)
- Method in class com.twicom.qdparser.
TextElement
Sets this element to print as a CDATA element
setComment(String)
- Method in class com.twicom.qdparser.
TaggedElement
set this element's comment
setElements(List<Element>)
- Method in class com.twicom.qdparser.
TaggedElement
sets the list of children of this element.
setLocation(int, int)
- Method in class com.twicom.qdparser.
TaggedElement
sets the XML source code location information for this element
setNamespacePrefix(String)
- Method in class com.twicom.qdparser.
TaggedElement
Sets the namespace prefix to be used when converting the XML to a String.
setValue(String)
- Method in class com.twicom.qdparser.
TextElement
Sets the value of this TextElement using a String
setValue(int)
- Method in class com.twicom.qdparser.
TextElement
Sets the value of this TextElement using an integer
stack
- Variable in class com.twicom.qdparser.
XMLReader
Holds all the parent elements of the current element
startDocument()
- Method in interface com.twicom.qdparser.
DocHandler
Called to indicate the start of the XML document being read
startDocument()
- Method in class com.twicom.qdparser.
XMLReader
startElement(String, String, Map<String, String>, int, int)
- Method in interface com.twicom.qdparser.
DocHandler
Called to indicate the start of a tagged element
startElement(String, String, Map<String, String>, int, int)
- Method in class com.twicom.qdparser.
XMLReader
string
- Variable in class com.twicom.qdparser.
TextElement
The value of the TextElement.
T
TaggedElement
- Class in
com.twicom.qdparser
Represents a tagged XML element and contains all the information that the original had.
TaggedElement(String)
- Constructor for class com.twicom.qdparser.
TaggedElement
Class constructor specifying only the name part of the tag
TaggedElement(String, String)
- Constructor for class com.twicom.qdparser.
TaggedElement
Class constructor specifying the name space and the tag name
TaggedElement(String, Object[])
- Constructor for class com.twicom.qdparser.
TaggedElement
Class constructor specifying only the name part of the tag with an array of objects to be added as child elements
TaggedElement(String, String, Object[])
- Constructor for class com.twicom.qdparser.
TaggedElement
Class constructor specifying only the name part of the tag with an array of objects to be added as child elements
tagName
- Variable in class com.twicom.qdparser.
TaggedElement
text(String, int, int)
- Method in interface com.twicom.qdparser.
DocHandler
Called to indicate that an untagged element has been read
text(String, boolean, int, int)
- Method in interface com.twicom.qdparser.
DocHandler
Called to indicate that an untagged element has been read
text(String, boolean, int, int)
- Method in class com.twicom.qdparser.
XMLReader
text(String, int, int)
- Method in class com.twicom.qdparser.
XMLReader
TextElement
- Class in
com.twicom.qdparser
An XML element that simply contains text.
TextElement(String)
- Constructor for class com.twicom.qdparser.
TextElement
Constructs a TextElement using a string
TextElement(int)
- Constructor for class com.twicom.qdparser.
TextElement
Constructs a TextElement using an integer.
toString(boolean)
- Method in class com.twicom.qdparser.
Element
Returns formatted or unformatted XML source.
toString(StringBuffer, boolean, int)
- Method in class com.twicom.qdparser.
Element
Internal method used recursively to format XML with appropriate indentation.
toString()
- Method in class com.twicom.qdparser.
TaggedElement
toString(StringBuffer, boolean, int)
- Method in class com.twicom.qdparser.
TaggedElement
toString()
- Method in class com.twicom.qdparser.
TextElement
toString(StringBuffer, boolean, int)
- Method in class com.twicom.qdparser.
TextElement
U
unquote(String)
- Static method in class com.twicom.qdparser.
Element
quotes a string according to XML rules.
X
XMLParseException
- Exception in
com.twicom.qdparser
XMLParseException()
- Constructor for exception com.twicom.qdparser.
XMLParseException
XMLParseException(String)
- Constructor for exception com.twicom.qdparser.
XMLParseException
XMLParseException(String, Throwable)
- Constructor for exception com.twicom.qdparser.
XMLParseException
XMLParseException(Throwable)
- Constructor for exception com.twicom.qdparser.
XMLParseException
XMLReader
- Class in
com.twicom.qdparser
Parses an XML structure producing the equivalent nested class structure
XMLReader(String)
- Constructor for class com.twicom.qdparser.
XMLReader
Class constructor that reads the XML from a string
XMLReader(String, String)
- Constructor for class com.twicom.qdparser.
XMLReader
Class constructor that reads the XML from a string and specifies a comment
XMLReader(String, Reader)
- Constructor for class com.twicom.qdparser.
XMLReader
Class constructor that reads the XML from a Reader and specifies a comment
XMLReader(String, URI)
- Constructor for class com.twicom.qdparser.
XMLReader
Class constructor that reads the XML from a URI specified source and specifies a comment
A
C
D
E
F
G
H
I
N
O
P
Q
R
S
T
U
X
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes