A C D E F G H I L M O P R S T W X 

A

addRequired(String) - Method in class igpp.xml.XMLParser
 

C

changePath(ArrayList<Pair>, String, String) - Static method in class igpp.xml.XMLGrep
Change the path for each pair in a list using a pattern.
create(A, B) - Static method in class igpp.xml.Pair
Creates an instance of pair with a "left" value and a "right" value.

D

dump() - Method in class igpp.xml.XMLParser
Prints the XML document to the currently define System.out.
dumpData(PrintStream) - Method in class igpp.xml.XMLParser
Dump the CData sections of the XML
dumpNode(PrintStream, Node) - Method in class igpp.xml.XMLParser
Dump the nodes of the XML

E

entityEncode(String) - Static method in class igpp.xml.XMLParser
Convert special characters in a string for use in an HTML document.
equal(Object, Object) - Static method in class igpp.xml.Pair
Determines if one object equals another.
equals(Object) - Method in class igpp.xml.Pair
Determines if one object equals another.

F

fileToPDF(String, PrintStream) - Static method in class igpp.xml.ToPDF
 
fileToXHTML(String) - Static method in class igpp.xml.ToXHTML
 
fileToXHTML(String, String) - Static method in class igpp.xml.ToXHTML
 
fileToXML(String) - Static method in class igpp.xml.PrettyXML
 
fileToXML(String) - Static method in class igpp.xml.PrettyXML2
 
findFirstElement(String, int) - Method in class igpp.xml.XMLGrep
Find the first item that has an XPath that begins with a given XPath.
findFirstElement(ArrayList<Pair>, String, int) - Static method in class igpp.xml.XMLGrep
Find the first item that has an XPath that begins with a given XPath.
findLastElement(String, int) - Method in class igpp.xml.XMLGrep
Find the last item that has an XPath that begins with a given XPath.
findLastElement(ArrayList<Pair>, String, int) - Static method in class igpp.xml.XMLGrep
Find the last item that has an XPath that begins with a given XPath.
findNode(Node, String) - Method in class igpp.xml.XMLParser
Find the next node with the given name.

G

getAllValues(String) - Method in class igpp.xml.XMLParser
Return the list of values of a member given the XPath like reference to the member.
getBranchText(Node) - Static method in class igpp.xml.XMLParser
Concatenate all the text under a node.
getChildNodeIndex(ArrayList<Pair>, String) - Static method in class igpp.xml.XMLGrep
Finds the index of all child nodes at a given XPath.
getChildNodeNames(ArrayList<Pair>, String) - Static method in class igpp.xml.XMLGrep
Finds the names of all child nodes at a given XPath.
getChildNodes(Node) - Static method in class igpp.xml.XMLGrep
Generate an xpath/value list of pairs.
getClassName() - Method in class igpp.xml.XMLParser
 
getDefaultStyleSheet() - Static method in class igpp.xml.XMLParser
Obtain a StreamSource to the default XML Style Sheet.
getDocument() - Method in class igpp.xml.XMLParser
Obtain the Document containing the representation of the parsed XML files.
getElementPath(String, int) - Method in class igpp.xml.XMLParser
Construct an abbreviated XPath for a a class node.
getFirstValue(String, String) - Method in class igpp.xml.XMLGrep
Finds the first value that has an XPath which matches a given pattern.
getFirstValue(ArrayList<Pair>, String, String) - Static method in class igpp.xml.XMLGrep
Finds the first value that has an XPath which matches a given pattern.
getIndent() - Method in class igpp.xml.XMLParser
Return the indent value.
getLeft() - Method in class igpp.xml.Pair
Returns the "left" element of the pair.
getMemberName(String) - Method in class igpp.xml.XMLParser
Extract the member name from an XPath string.
getMemberNode(String) - Method in class igpp.xml.XMLParser
Locates a node in a structure based on the the "name" associated with the member.
getMemberNodeIndex(String) - Method in class igpp.xml.XMLParser
Extracts the index portion of node reference.
getMemberNodeName(String) - Method in class igpp.xml.XMLParser
Extracts the name portion of node reference.
getMemberParent(String) - Method in class igpp.xml.XMLParser
Find the parent class for a member.
getMemberPath(String) - Method in class igpp.xml.XMLParser
Extract the path to a member from an XPath string.
getNode(Node) - Static method in class igpp.xml.XMLGrep
Find the Node with the given XPath
getNodes(String) - Method in class igpp.xml.XMLParser
Return the list of nodes of a member given the XPath like reference to the member.
getNodes(String, boolean) - Method in class igpp.xml.XMLParser
Return the list of nodes of a member given the XPath like reference to the member.
getNodes(XMLParser, String) - Method in class igpp.xml.XMLParser
Return the list of nodes given the name of the member.
getNodeText(Node) - Static method in class igpp.xml.XMLParser
Concatenate all the text under a node.
getPairs(ArrayList<Pair>, String) - Static method in class igpp.xml.XMLGrep
Finds all pairs that have an XPath which matches a given pattern.
getPath() - Method in class igpp.xml.XMLParser
Return the path to the parsed document
getPathName() - Method in class igpp.xml.XMLParser
Return the pathname of the parsed document
getRequired() - Method in class igpp.xml.XMLParser
 
getRight() - Method in class igpp.xml.Pair
Returns the "right" element of the pair.
getSegment(int, int) - Method in class igpp.xml.XMLGrep
Extract a copy of a portion of a ArrayList.
getSegment(ArrayList<Pair>, int, int) - Static method in class igpp.xml.XMLGrep
Extract a copy of a portion of a ArrayList.
getStringReader() - Method in class igpp.xml.XMLParser
Return a StringReader for an XML representation of the document.
getTagClose(int, String) - Static method in class igpp.xml.XMLParser
Return an close tag with the proper indentation.
getTaggedList(int, String, ArrayList<String>) - Static method in class igpp.xml.XMLParser
Return a list of tagged values, properly indented.
getTaggedList(int, String, ArrayList<String>, boolean) - Method in class igpp.xml.XMLParser
Return a list of tagged values, properly indented.
getTaggedValue(int, String, String) - Static method in class igpp.xml.XMLParser
Return a value enclosed in a tag and properly indented.
getTaggedValue(int, String, String, boolean) - Method in class igpp.xml.XMLParser
Return a value enclosed in a tag and properly indented.
getTagOpen(int, String) - Static method in class igpp.xml.XMLParser
Return an open tag with the proper indentation.
getTopParent(String) - Method in class igpp.xml.XMLParser
Find the top level parent class for a member.
getTransformer(String) - Static method in class igpp.xml.Transform
Get a new transformer based on a stylesheet
getTransformer(String, HashMap<String, Templates>) - Static method in class igpp.xml.Transform
Load a stylesheet and maintain it in memory for reuse.
getURLSource(String) - Static method in class igpp.xml.Transform
Get a StreamSource to the response of invoking a URL.
getValues(String) - Method in class igpp.xml.XMLGrep
Finds all values that have an XPath which matches a given pattern.
getValues(ArrayList<Pair>, String) - Static method in class igpp.xml.XMLGrep
Finds all values that have an XPath which matches a given pattern.
getValues(String) - Method in class igpp.xml.XMLParser
Return the list of values of a member given the XPath like reference to the member.
getValues(String, boolean) - Method in class igpp.xml.XMLParser
Return the list of values of a member given the XPath like reference to the member.
getVerbose() - Static method in class igpp.xml.PrettyXML
 
getWords(ArrayList<Pair>) - Static method in class igpp.xml.XMLGrep
Get a list of words in the resource.
getWords() - Method in class igpp.xml.XMLParser
Walk the internals of a class and collect a unique list of words from all String fields.
getXMLDocument(int) - Method in class igpp.xml.XMLParser
Return a string containing an XML representation of this instance.
getXMLDocument(int, boolean) - Method in class igpp.xml.XMLParser
Return a string containing an XML representation of this instance.
getXMLDocument(int, String, int) - Method in class igpp.xml.XMLParser
Return a string containing an XML representation of this isntance.
getXMLDocument(int, String, int, boolean) - Method in class igpp.xml.XMLParser
Return a string containing an XML representation of this isntance.
getXMLHeader() - Static method in class igpp.xml.XMLParser
Returns the header line required for XML files.
getXPathList(String, ArrayList<String>) - Static method in class igpp.xml.XMLParser
Get a list of values labeled with an XPath.
getXPathPairs() - Method in class igpp.xml.XMLParser
Return an ArrayList of string Pairs which contains for each node in the XML document an XPath as the "left" value of the pair and the value as the "right" value of pair.
getXPathPairs(String, int) - Method in class igpp.xml.XMLParser
Return an ArrayList of string Pairs which contains for each node in the XML document an XPath as the "left" value of the pair and the value as the "right" value of pair.

H

hashCode() - Method in class igpp.xml.Pair
Returns the hash code.

I

igpp.xml - package igpp.xml
 
indent(int) - Static method in class igpp.xml.XMLParser
Return a string with spaces to format to indicated indentation level.
insertCSS(TagNode, String) - Static method in class igpp.xml.ToXHTML
 
isCommonWord(String) - Static method in class igpp.xml.XMLGrep
Determine if a word is a common word.
isCommonWord(String) - Method in class igpp.xml.XMLParser
Determine if a word is a common word.
isInUse(String, String) - Method in class igpp.xml.XMLParser
Determine if an element is in use.
isRequired(String) - Method in class igpp.xml.XMLParser
Determine if an element is required.

L

load(String) - Method in class igpp.xml.XMLParser
Parses a file containing XML into its constitute elements and sets internal variables with the contents of the file.
load(String, String) - Method in class igpp.xml.XMLParser
Parses a file containing XML into its constitute elments and sets internal variables with the contents of the file.
load(InputStream) - Method in class igpp.xml.XMLParser
Parses an InputStream of XML into its constitute elments and sets internal variables with the contents of the file.
load(InputStream, String) - Method in class igpp.xml.XMLParser
Parses an InputStream of XML into its constitute elments and sets internal variables with the contents of the file.
load(Document, String) - Method in class igpp.xml.XMLParser
Parses a Document which contains a parsed XML file and set internal variables with the contents of the file.

M

main(String[]) - Static method in class igpp.xml.PrettyXML
 
main(String[]) - Static method in class igpp.xml.PrettyXML2
 
main(String[]) - Static method in class igpp.xml.ToPDF
 
main(String[]) - Static method in class igpp.xml.ToXHTML
 
main(String[]) - Static method in class igpp.xml.Transform
Command-line interface
main(String[]) - Static method in class igpp.xml.XMLGrep
Entry point for testing
main(String[]) - Static method in class igpp.xml.XMLParser
Entry point for testing
makeEditNodes() - Method in class igpp.xml.XMLParser
Create an instance of all nodes for use when editing.
makeIndex(ArrayList<Pair>, Node, String) - Static method in class igpp.xml.XMLGrep
Generate an xpath/value index.
makeIndex(Node, String) - Static method in class igpp.xml.XMLGrep
Generate an xpath/value/node index.
makeNewMember(String) - Method in class igpp.xml.XMLParser
Create a new member.
makeSkeletonNodes() - Method in class igpp.xml.XMLParser
Create all nodes for use when editing which currently do not exist.
makeTagContent(String, String) - Method in class igpp.xml.XMLParser
Return a string with content enclosed in tags with the passed name.

O

open(String) - Method in class igpp.xml.XMLGrep
Parses a file containing XML into its constitute elements.

P

Pair<L,R> - Class in igpp.xml
An simple class to maintain pairs of objects.
Pair(L, R) - Constructor for class igpp.xml.Pair
Creates an instance of pair with a "left" value and a "right" value.
parse(String) - Static method in class igpp.xml.XMLGrep
Parses a file containing XML into its constitute elements.
parse(InputStream) - Static method in class igpp.xml.XMLGrep
Parses a file containing XML into its constitute elements.
parseString(String) - Static method in class igpp.xml.XMLGrep
Parses a string containing XML into its constitute elements.
parseWords(String) - Method in class igpp.xml.XMLParser
Parse a string into words and return a list of unique words.
parseXML(String) - Method in class igpp.xml.XMLParser
Parses a file containing XML into its constitute elements.
parseXML(InputStream) - Method in class igpp.xml.XMLParser
Parses a file containing XML into its constitute elments.
parseXMLString(String) - Method in class igpp.xml.XMLParser
Parses a string containing XML into its constitute elements.
perform(StreamSource, String, PrintStream) - Static method in class igpp.xml.Transform
Use an XML style sheet to transform an XML document and write the results to an PrintWriter.
perform(String, String, PrintWriter) - Static method in class igpp.xml.Transform
Use an XML style sheet to transform an XML document and write the results to an PrintWriter.
perform(InputStream, String, PrintWriter) - Static method in class igpp.xml.Transform
Use an XML style sheet to transform an XML document and write the results to an PrintWriter.
perform(String, String, PrintStream) - Static method in class igpp.xml.Transform
Use an XML style sheet to transform an XML document and write the results to an PrintStream.
perform(String, String, JspWriter) - Static method in class igpp.xml.Transform
Use an XML style sheet to transform an XML document and write the results to an JspWriter.
perform(StringReader, String, JspWriter) - Static method in class igpp.xml.Transform
Use an XML style sheet to transform an XML document and write the results to an JspWriter.
perform(InputStream, String, JspWriter) - Static method in class igpp.xml.Transform
Use an XML style sheet to transform an XML document and write the results to an JspWriter.
performOnURL(String, String, JspWriter) - Static method in class igpp.xml.Transform
Use an XML style sheet to transform an XML document returned by a URL and write the results to an JspWriter.
PrettyXML - Class in igpp.xml
 
PrettyXML() - Constructor for class igpp.xml.PrettyXML
 
PrettyXML2 - Class in igpp.xml
 
PrettyXML2() - Constructor for class igpp.xml.PrettyXML2
 
printXML(PrintStream) - Method in class igpp.xml.XMLParser
Generates an XML representation of the label and stream it to the print stream.
processNode(Node) - Method in class igpp.xml.XMLParser
Walk the nodes of the Document and populate the resource classes.

R

removeMember(String, int) - Method in class igpp.xml.XMLParser
Remove an elment of a member.

S

setClassName(String) - Method in class igpp.xml.XMLParser
 
setCompact(boolean) - Static method in class igpp.xml.PrettyXML
 
setIndent(String) - Static method in class igpp.xml.PrettyXML
 
setIndent(int) - Method in class igpp.xml.XMLParser
Set the indent value.
setLeft(L) - Method in class igpp.xml.Pair
Set the "left" element of the pair.
setMember(String, String) - Method in class igpp.xml.XMLParser
Call the set() method with a given name suffix and a String as an argument.
setMember(String, String[]) - Method in class igpp.xml.XMLParser
Call the set() method with a given name suffix and an array of String values as an argument.
setMember(String, Node) - Method in class igpp.xml.XMLParser
Call the set() method with a given name suffix and a DOM Node as an argument.
setRight(R) - Method in class igpp.xml.Pair
Sets the "right" element of the pair.
setVerbose(boolean) - Static method in class igpp.xml.PrettyXML
 
showHelp() - Method in class igpp.xml.PrettyXML
Display help information.
showHelp() - Method in class igpp.xml.PrettyXML2
Display help information.
showHelp() - Method in class igpp.xml.ToPDF
Display help information.
showHelp() - Method in class igpp.xml.ToXHTML
Display help information.
showHelp() - Method in class igpp.xml.Transform
Display help information.
showHelp() - Method in class igpp.xml.XMLGrep
Display help information.
splitMixed(String) - Method in class igpp.xml.XMLParser
Divide a string on capital letters that follow lowercase letters
stringToPDF(String, PrintStream) - Static method in class igpp.xml.ToPDF
 
stringToPlainXML(String) - Static method in class igpp.xml.PrettyXML
 
stringToXHTML(String) - Static method in class igpp.xml.ToXHTML
 
stringToXML(String) - Static method in class igpp.xml.PrettyXML
 
stringToXML(String) - Static method in class igpp.xml.PrettyXML2
 

T

ToPDF - Class in igpp.xml
 
ToPDF() - Constructor for class igpp.xml.ToPDF
 
toString() - Method in class igpp.xml.XMLParser
Generates an XML representation of the content and return it as a string.
ToXHTML - Class in igpp.xml
 
ToXHTML() - Constructor for class igpp.xml.ToXHTML
 
Transform - Class in igpp.xml
Transform an XML file using a stylesheet (XSL)
Transform() - Constructor for class igpp.xml.Transform
 
trim() - Method in class igpp.xml.XMLParser
Trim all text nodes by removing leading and trailing spaces.
trimNode(Node) - Method in class igpp.xml.XMLParser
Trim the text in a node by removing leading and trailing spaces.

W

writeTagged(Node) - Static method in class igpp.xml.XMLGrep
Prints the XML document to the currently defined System.out.
writeTagged(PrintStream, Node) - Static method in class igpp.xml.XMLGrep
Prints the XML document to a @link{PrintStream} Each node is labeled with its XPath.
writeTagged(PrintStream, ArrayList<Pair>, int, int, String) - Static method in class igpp.xml.XMLGrep
Prints the list of XPath/Value pairs to a @link{PrintStream}
writeTagged(PrintStream, ArrayList<Pair>, int, int) - Static method in class igpp.xml.XMLGrep
Prints the list of XPath/Value pairs to a @link{PrintStream}
writeTagged(PrintStream, ArrayList<Pair>, String) - Static method in class igpp.xml.XMLGrep
Prints the list of XPath/Value pairs to a @link{PrintStream}
writeTagged(PrintStream, ArrayList<Pair>) - Static method in class igpp.xml.XMLGrep
Prints the list of XPath/Value pairs to a @link{PrintStream}
writeTagged(PrintStream, Pair<String, String>, String) - Static method in class igpp.xml.XMLGrep
Prints an XPath/Value pair to a @link{PrintStream}
writeTagged(PrintStream, Pair<String, String>) - Static method in class igpp.xml.XMLGrep
Prints an XPath/Value pair to a @link{PrintStream}
writeXMLTagged(Node) - Static method in class igpp.xml.XMLGrep
Prints the XML document to the currently define System.out.
writeXMLTagged(PrintStream, Node) - Static method in class igpp.xml.XMLGrep
Prints the XML document to a @link{PrintStream} Each node is labeled with its XPath.
writeXMLTagged(PrintStream, ArrayList<Pair>, int, int, String) - Static method in class igpp.xml.XMLGrep
Prints the list of XPath/Value pairs to a @link{PrintStream}
writeXMLTagged(PrintStream, ArrayList<Pair>, int, int) - Static method in class igpp.xml.XMLGrep
Prints the list of XPath/Value pairs to a @link{PrintStream}
writeXMLTagged(PrintStream, ArrayList<Pair>, String) - Static method in class igpp.xml.XMLGrep
Prints the list of XPath/Value pairs to a @link{PrintStream}
writeXMLTagged(PrintStream, ArrayList<Pair>) - Static method in class igpp.xml.XMLGrep
Prints the list of XPath/Value pairs to a @link{PrintStream}
writeXMLTagged(PrintStream, Pair<String, String>, boolean) - Static method in class igpp.xml.XMLGrep
Prints an XPath/Value pair to a @link{PrintStream}

X

XMLGrep - Class in igpp.xml
Extract values from XML files using simplified XPath syntax that can contain regular expressions.
XMLGrep() - Constructor for class igpp.xml.XMLGrep
Creates an instance of a XML
XMLParser - Class in igpp.xml
A base class for XML parsing.
XMLParser() - Constructor for class igpp.xml.XMLParser
Creates an instance of a XML
A C D E F G H I L M O P R S T W X 

Copyright © 2008-2015 Regents University of California. All Rights Reserved.