A B C D E G H I L M N O P R S T U V W X 

A

accept(Visitor) - Method in class com.hp.hpl.sparta.xpath.AllElementTest
 
accept(BooleanExprVisitor) - Method in class com.hp.hpl.sparta.xpath.AttrEqualsExpr
 
accept(BooleanExprVisitor) - Method in class com.hp.hpl.sparta.xpath.AttrExistsExpr
 
accept(BooleanExprVisitor) - Method in class com.hp.hpl.sparta.xpath.AttrGreaterExpr
 
accept(BooleanExprVisitor) - Method in class com.hp.hpl.sparta.xpath.AttrLessExpr
 
accept(BooleanExprVisitor) - Method in class com.hp.hpl.sparta.xpath.AttrNotEqualsExpr
 
accept(Visitor) - Method in class com.hp.hpl.sparta.xpath.AttrTest
 
accept(BooleanExprVisitor) - Method in class com.hp.hpl.sparta.xpath.BooleanExpr
 
accept(Visitor) - Method in class com.hp.hpl.sparta.xpath.ElementTest
 
accept(Visitor) - Method in class com.hp.hpl.sparta.xpath.NodeTest
 
accept(Visitor) - Method in class com.hp.hpl.sparta.xpath.ParentNodeTest
 
accept(BooleanExprVisitor) - Method in class com.hp.hpl.sparta.xpath.PositionEqualsExpr
 
accept(BooleanExprVisitor) - Method in class com.hp.hpl.sparta.xpath.TextEqualsExpr
 
accept(BooleanExprVisitor) - Method in class com.hp.hpl.sparta.xpath.TextExistsExpr
 
accept(BooleanExprVisitor) - Method in class com.hp.hpl.sparta.xpath.TextNotEqualsExpr
 
accept(Visitor) - Method in class com.hp.hpl.sparta.xpath.TextTest
 
accept(Visitor) - Method in class com.hp.hpl.sparta.xpath.ThisNodeTest
 
accept(BooleanExprVisitor) - Method in class com.hp.hpl.sparta.xpath.TrueExpr
 
addObserver(Document.Observer) - Method in class com.hp.hpl.sparta.Document
 
AllElementTest - Class in com.hp.hpl.sparta.xpath
A '*' node test.
appendChild(Node) - Method in class com.hp.hpl.sparta.Element
Add node as child of this element, cloning node if it is this element or an ancestor.
appendData(String) - Method in class com.hp.hpl.sparta.Text
 
appendData(char) - Method in class com.hp.hpl.sparta.Text
 
appendData(char[], int, int) - Method in class com.hp.hpl.sparta.Text
 
AttrCompareExpr - Class in com.hp.hpl.sparta.xpath
Compare attribute to string.
AttrEqualsExpr - Class in com.hp.hpl.sparta.xpath
A '@attrName = "value"' test.
AttrExistsExpr - Class in com.hp.hpl.sparta.xpath
A '@attrName' test to see if attribute exists.
AttrExpr - Class in com.hp.hpl.sparta.xpath
A boolean test on an attribute.
AttrGreaterExpr - Class in com.hp.hpl.sparta.xpath
A '@attrName > n' test.
AttrGreaterExpr(String, int) - Constructor for class com.hp.hpl.sparta.xpath.AttrGreaterExpr
Constructor for AttrGreaterThanExpr.
AttrLessExpr - Class in com.hp.hpl.sparta.xpath
A '@attrName < "n"' test.
AttrLessExpr(String, int) - Constructor for class com.hp.hpl.sparta.xpath.AttrLessExpr
Constructor for AttrLessThanExpr.
AttrNotEqualsExpr - Class in com.hp.hpl.sparta.xpath
An expression testing that an attribute is not equal to a given string.
AttrRelationalExpr - Class in com.hp.hpl.sparta.xpath
Compare attribute relative to integer.
AttrTest - Class in com.hp.hpl.sparta.xpath
A node test for an element with a particular tagname.

B

BadHanyuPinyinOutputFormatCombination - Exception in net.sourceforge.pinyin4j.format.exception
An exception class indicates the wrong combination of pinyin output formats
BadHanyuPinyinOutputFormatCombination(String) - Constructor for exception net.sourceforge.pinyin4j.format.exception.BadHanyuPinyinOutputFormatCombination
Constructor
BooleanExpr - Class in com.hp.hpl.sparta.xpath
an expression that returns a boolean value.
BooleanExpr() - Constructor for class com.hp.hpl.sparta.xpath.BooleanExpr
 
BooleanExprVisitor - Interface in com.hp.hpl.sparta.xpath
Add functionality to subclasses of BooleanExpr.

C

characters(char[], int, int) - Method in class com.hp.hpl.sparta.DefaultParseHandler
 
characters(char[], int, int) - Method in interface com.hp.hpl.sparta.ParseHandler
 
clone() - Method in class com.hp.hpl.sparta.Document
Deep copy of this document.
clone() - Method in class com.hp.hpl.sparta.Element
Create a deep clone of this Element.
clone() - Method in class com.hp.hpl.sparta.Node
 
clone() - Method in class com.hp.hpl.sparta.Text
Deep clone: returns Text node with copy of this ones data.
clone() - Method in class com.hp.hpl.sparta.xpath.XPath
A one-level clone in which the steps list is cloned but not the steps objects themselves.
cloneElement(boolean) - Method in class com.hp.hpl.sparta.Element
Create a clone of this node.
cloneShallow() - Method in class com.hp.hpl.sparta.Element
Create a shallow clone of this Element.
code - Variable in exception com.hp.hpl.sparta.DOMException
 
com.hp.hpl.sparta - package com.hp.hpl.sparta
 
com.hp.hpl.sparta.xpath - package com.hp.hpl.sparta.xpath
XPath parse trees over which Visitor objects can traverse to apply the XPath expression to DOM nodes.
computeHashCode() - Method in class com.hp.hpl.sparta.Document
Called whenever cached version of hashCode needs to be regenerated.
computeHashCode() - Method in class com.hp.hpl.sparta.Element
Called whenever cached version of hashCode needs to be regenerated.
computeHashCode() - Method in class com.hp.hpl.sparta.Node
Called whenever cached version of hashCode needs to be regenerated.
computeHashCode() - Method in class com.hp.hpl.sparta.Text
Called whenever cached version of hashCode needs to be regenerated.
create() - Method in interface com.hp.hpl.sparta.Sparta.CacheFactory
 

D

DEFAULT_LOG - Static variable in interface com.hp.hpl.sparta.ParseSource
 
DefaultParseHandler - Class in com.hp.hpl.sparta
This class provides a default ParseHandler that does nothing.
DefaultParseHandler() - Constructor for class com.hp.hpl.sparta.DefaultParseHandler
 
deleteObserver(Document.Observer) - Method in class com.hp.hpl.sparta.Document
 
Document - Class in com.hp.hpl.sparta
An XML Document.
Document() - Constructor for class com.hp.hpl.sparta.Document
Create new empty in-memory Document with a null documentElement.
Document.Index - Class in com.hp.hpl.sparta
 
Document.Observer - Interface in com.hp.hpl.sparta
Something that is informed whenever the document changes.
DOMException - Exception in com.hp.hpl.sparta
Thrown when problem constructing the DOM.
DOMException(short, String) - Constructor for exception com.hp.hpl.sparta.DOMException
 
DOMSTRING_SIZE_ERR - Static variable in exception com.hp.hpl.sparta.DOMException
 
DOT - Static variable in class com.hp.hpl.sparta.xpath.Step
 

E

Element - Class in com.hp.hpl.sparta
A type of Node with a particular tagName that has a set of attributes and can contain other nodes as children.
Element(String) - Constructor for class com.hp.hpl.sparta.Element
 
ElementTest - Class in com.hp.hpl.sparta.xpath
A node test for an element with a particular tagname.
EncodingMismatchException - Exception in com.hp.hpl.sparta
Thrown when declared encoding does not match assumed encoding.
endDocument() - Method in class com.hp.hpl.sparta.DefaultParseHandler
 
endDocument() - Method in interface com.hp.hpl.sparta.ParseHandler
 
endElement(Element) - Method in class com.hp.hpl.sparta.DefaultParseHandler
 
endElement(Element) - Method in interface com.hp.hpl.sparta.ParseHandler
 
equals(Object) - Method in class com.hp.hpl.sparta.Document
Two documents are equal IFF their document elements are equal.
equals(Object) - Method in class com.hp.hpl.sparta.Element
To be equal elements must have the same tagname, they must have the same children (applying equals recursivly) in the same order and they must have the same attributes in any order.
equals(Object) - Method in class com.hp.hpl.sparta.Text
Text nodes can be equal even if they are in different documents, different parents, different siblings, or different annotations.
error(String, String, int) - Method in interface com.hp.hpl.sparta.ParseLog
 
ExprFactory - Class in com.hp.hpl.sparta.xpath
A utility that parses a stream of tokens and creates the appropriate sub-class of BooleanExpr.
ExprFactory() - Constructor for class com.hp.hpl.sparta.xpath.ExprFactory
 

G

get(String) - Method in class com.hp.hpl.sparta.Document.Index
 
get(Object) - Method in interface com.hp.hpl.sparta.Sparta.Cache
 
get(String) - Static method in class com.hp.hpl.sparta.xpath.XPath
Return the xpath parse-tree object for this expression.
get(boolean, Step[]) - Static method in class com.hp.hpl.sparta.xpath.XPath
Create an XPath from some steps.
get(String) - Method in class net.sourceforge.pinyin4j.multipinyin.Trie
 
getAnnotation() - Method in class com.hp.hpl.sparta.Node
 
getAttribute(String) - Method in class com.hp.hpl.sparta.Element
 
getAttributeNames() - Method in class com.hp.hpl.sparta.Element
Return enumeration of Strings
getAttrName() - Method in class com.hp.hpl.sparta.xpath.AttrExpr
 
getAttrName() - Method in class com.hp.hpl.sparta.xpath.AttrTest
 
getAttrValue() - Method in class com.hp.hpl.sparta.xpath.AttrCompareExpr
Result is an interned string for faster comparison.
getAttrValue() - Method in class com.hp.hpl.sparta.xpath.AttrRelationalExpr
 
getCaseType() - Method in class net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat
Returns the output cases of Hanyu Pinyin characters
getCause() - Method in exception com.hp.hpl.sparta.ParseException
 
getCause() - Method in exception com.hp.hpl.sparta.xpath.XPathException
 
getData() - Method in class com.hp.hpl.sparta.Text
 
getDocumentElement() - Method in class com.hp.hpl.sparta.Document
 
getFirstChild() - Method in class com.hp.hpl.sparta.Element
 
getIndexingAttrName() - Method in class com.hp.hpl.sparta.xpath.XPath
Return the attribute name in a trailing [@attrName] predicate.
getIndexingAttrNameOfEquals() - Method in class com.hp.hpl.sparta.xpath.XPath
Return the attribute name in a trailing [@attrName='attrValue'] predicate or null if it someother type of predicate..
getLastChild() - Method in class com.hp.hpl.sparta.Element
 
getLineNumber() - Method in exception com.hp.hpl.sparta.ParseException
 
getLineNumber() - Method in interface com.hp.hpl.sparta.ParseSource
Last line number read by parser.
getName() - Method in class net.sourceforge.pinyin4j.format.HanyuPinyinCaseType
 
getName() - Method in class net.sourceforge.pinyin4j.format.HanyuPinyinToneType
 
getName() - Method in class net.sourceforge.pinyin4j.format.HanyuPinyinVCharType
 
getNextSibling() - Method in class com.hp.hpl.sparta.Node
Return the next node in the parent's list of children, or null if no such node.
getNextTire() - Method in class net.sourceforge.pinyin4j.multipinyin.Trie
 
getNodeTest() - Method in class com.hp.hpl.sparta.xpath.Step
 
getOwnerDocument() - Method in class com.hp.hpl.sparta.Node
The document that contains this node.
getParentNode() - Method in class com.hp.hpl.sparta.Node
The element that contains this node or null if this is a Document or the root element of a document.
getParseSource() - Method in class com.hp.hpl.sparta.DefaultParseHandler
 
getParseSource() - Method in interface com.hp.hpl.sparta.ParseHandler
 
getPinyin() - Method in class net.sourceforge.pinyin4j.multipinyin.Trie
 
getPosition() - Method in class com.hp.hpl.sparta.xpath.PositionEqualsExpr
 
getPredicate() - Method in class com.hp.hpl.sparta.xpath.Step
 
getPreviousSibling() - Method in class com.hp.hpl.sparta.Node
Return the previous node in the parent's list of children, or null if no such node.
getSteps() - Method in class com.hp.hpl.sparta.xpath.XPath
 
getSystemId() - Method in class com.hp.hpl.sparta.Document
 
getSystemId() - Method in interface com.hp.hpl.sparta.ParseSource
 
getTagName() - Method in class com.hp.hpl.sparta.Element
 
getTagName() - Method in class com.hp.hpl.sparta.xpath.ElementTest
 
getToneType() - Method in class net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat
Returns the output format of Chinese tones
getValue() - Method in class com.hp.hpl.sparta.xpath.TextCompareExpr
 
getVCharType() - Method in class net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat
Returns output format of character 'ü'

H

HanyuPinyinCaseType - Class in net.sourceforge.pinyin4j.format
Define the output case of Hanyu Pinyin string
HanyuPinyinCaseType(String) - Constructor for class net.sourceforge.pinyin4j.format.HanyuPinyinCaseType
Constructor
HanyuPinyinOutputFormat - Class in net.sourceforge.pinyin4j.format
This classes define how the Hanyu Pinyin should be outputted.
HanyuPinyinOutputFormat() - Constructor for class net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat
 
HanyuPinyinToneType - Class in net.sourceforge.pinyin4j.format
Define the output format of Hanyu Pinyin tones
HanyuPinyinToneType(String) - Constructor for class net.sourceforge.pinyin4j.format.HanyuPinyinToneType
 
HanyuPinyinVCharType - Class in net.sourceforge.pinyin4j.format
Define the output format of character 'ü'
HanyuPinyinVCharType(String) - Constructor for class net.sourceforge.pinyin4j.format.HanyuPinyinVCharType
Constructor
hashCode() - Method in class com.hp.hpl.sparta.Node
 
HIERARCHY_REQUEST_ERR - Static variable in exception com.hp.hpl.sparta.DOMException
 
htmlEncode(Writer, String) - Static method in class com.hp.hpl.sparta.Node
Quote special XML characters '<', '>', '&', '"' if necessary, and write to character stream.

I

intern(String) - Static method in class com.hp.hpl.sparta.Sparta
Used internally by Sparta code to intern strings because the String.intern method is not supported in older and smaller JVMs.
intern(String) - Method in interface com.hp.hpl.sparta.Sparta.Internment
 
isAbsolute() - Method in class com.hp.hpl.sparta.xpath.XPath
Does this path begin with a '/' or '//' ?
isMultiLevel() - Method in class com.hp.hpl.sparta.xpath.Step
Is this step preceeded by a '//' ?
isStringValue() - Method in class com.hp.hpl.sparta.xpath.AllElementTest
Return false
isStringValue() - Method in class com.hp.hpl.sparta.xpath.AttrTest
Return true
isStringValue() - Method in class com.hp.hpl.sparta.xpath.ElementTest
Return false
isStringValue() - Method in class com.hp.hpl.sparta.xpath.NodeTest
Does this nodetest evaluate to a string values (attribute values or text() nodes)
isStringValue() - Method in class com.hp.hpl.sparta.xpath.ParentNodeTest
Return false
isStringValue() - Method in class com.hp.hpl.sparta.xpath.Step
Does this step evaluate to a string values (attribute values or text() nodes)
isStringValue() - Method in class com.hp.hpl.sparta.xpath.TextTest
Return true
isStringValue() - Method in class com.hp.hpl.sparta.xpath.ThisNodeTest
Return false
isStringValue() - Method in class com.hp.hpl.sparta.xpath.XPath
Does xpath evaluate to a string values (attribute values or text() nodes)
isStringValue(String) - Static method in class com.hp.hpl.sparta.xpath.XPath
Convenience function equivalent to get(xpathString).isStringValue()

L

load(InputStream) - Method in class net.sourceforge.pinyin4j.multipinyin.Trie
加载拼音
loadMultiPinyin(InputStream) - Method in class net.sourceforge.pinyin4j.multipinyin.Trie
加载多音字拼音词典
loadMultiPinyinExtend() - Method in class net.sourceforge.pinyin4j.multipinyin.Trie
加载用户自定义的扩展词库
LOWERCASE - Static variable in class net.sourceforge.pinyin4j.format.HanyuPinyinCaseType
The option indicates that hanyu pinyin is outputted as lowercase letters

M

MAXLOOKAHEAD - Static variable in interface com.hp.hpl.sparta.ParseSource
The InputStream passed into the constructor must support mark with this amount of lookahead.
MultiPinyinConfig - Class in net.sourceforge.pinyin4j.multipinyin
多音字配置,可外挂 Created by 刘一波 on 16/3/4.
MultiPinyinConfig() - Constructor for class net.sourceforge.pinyin4j.multipinyin.MultiPinyinConfig
 
multiPinyinPath - Static variable in class net.sourceforge.pinyin4j.multipinyin.MultiPinyinConfig
 

N

name - Variable in class net.sourceforge.pinyin4j.format.HanyuPinyinCaseType
 
name - Variable in class net.sourceforge.pinyin4j.format.HanyuPinyinToneType
 
name - Variable in class net.sourceforge.pinyin4j.format.HanyuPinyinVCharType
 
net.sourceforge.pinyin4j - package net.sourceforge.pinyin4j
 
net.sourceforge.pinyin4j.format - package net.sourceforge.pinyin4j.format
 
net.sourceforge.pinyin4j.format.exception - package net.sourceforge.pinyin4j.format.exception
 
net.sourceforge.pinyin4j.multipinyin - package net.sourceforge.pinyin4j.multipinyin
 
nextToken() - Method in class com.hp.hpl.sparta.xpath.SimpleStreamTokenizer
 
Node - Class in com.hp.hpl.sparta
An XML node.
Node() - Constructor for class com.hp.hpl.sparta.Node
 
NodeTest - Class in com.hp.hpl.sparta.xpath
The test for a nodeset that appears before the optional [predicate] in an xpath step.
NodeTest() - Constructor for class com.hp.hpl.sparta.xpath.NodeTest
 
NodeTestVisitor - Interface in com.hp.hpl.sparta.xpath
Add functionality to ubclasses of NodeTest.
NOT_FOUND_ERR - Static variable in exception com.hp.hpl.sparta.DOMException
 
note(String, String, int) - Method in interface com.hp.hpl.sparta.ParseLog
 
nval - Variable in class com.hp.hpl.sparta.xpath.SimpleStreamTokenizer
 

O

ordinaryChar(char) - Method in class com.hp.hpl.sparta.xpath.SimpleStreamTokenizer
precondition 0<=ch && ch<128

P

ParentNodeTest - Class in com.hp.hpl.sparta.xpath
A '..' node test.
parse(String, Reader) - Static method in class com.hp.hpl.sparta.Parser
DOM parsing of XML in a character stream, using a default log.
parse(String, Reader, ParseLog) - Static method in class com.hp.hpl.sparta.Parser
DOM parsing of XML in a character stream.
parse(String) - Static method in class com.hp.hpl.sparta.Parser
DOM parsing of XML in a String.
parse(char[]) - Static method in class com.hp.hpl.sparta.Parser
DOM parsing of XML in a character array (this is the fastest parse method).
parse(byte[]) - Static method in class com.hp.hpl.sparta.Parser
Parse XML to DOM, figuring out the encoding using the first few characters and possibly an encoding declaration on the first line of the XML.
parse(String, Reader, ParseLog, String) - Static method in class com.hp.hpl.sparta.Parser
DOM parsing of XML in a character stream, specifying the Unicode encoding.
parse(String, InputStream, ParseLog) - Static method in class com.hp.hpl.sparta.Parser
DOM parsing of XML encoded in a byte stream.
parse(String, InputStream) - Static method in class com.hp.hpl.sparta.Parser
DOM parsing of XML encoded in a byte stream, using a default log.
parse(String, InputStream, ParseLog, String) - Static method in class com.hp.hpl.sparta.Parser
DOM parsing of XML encoded in a character stream, specifying the Unicode encoding.
parse(String, Reader, ParseHandler) - Static method in class com.hp.hpl.sparta.Parser
SAX parsing of XML in character stream, using default log.
parse(String, Reader, ParseLog, ParseHandler) - Static method in class com.hp.hpl.sparta.Parser
SAX parsing of XML in character stream.
parse(String, ParseHandler) - Static method in class com.hp.hpl.sparta.Parser
SAX parsing of XML in a string.
parse(char[], ParseHandler) - Static method in class com.hp.hpl.sparta.Parser
SAX parsing of XML in a character array.
parse(byte[], ParseHandler) - Static method in class com.hp.hpl.sparta.Parser
SAX parsing of XML encoded in a byte array.
parse(String, InputStream, ParseLog, ParseHandler) - Static method in class com.hp.hpl.sparta.Parser
SAX parsing of XML encoded in a byte stream, using default log.
parse(String, InputStream, ParseHandler) - Static method in class com.hp.hpl.sparta.Parser
SAX parsing of XML encoded in a byte stream.
parse(String, InputStream, ParseLog, String, ParseHandler) - Static method in class com.hp.hpl.sparta.Parser
SAX parsing of XML encoded in a byte stream, specifying the Unicode encoding.
parse(String, Reader, ParseLog, String, ParseHandler) - Static method in class com.hp.hpl.sparta.Parser
SAX parsing of XML encoded in a character stream, specifying the Unicode encoding.
ParseException - Exception in com.hp.hpl.sparta
Thrown when error parsing XML or XPath.
ParseException(String) - Constructor for exception com.hp.hpl.sparta.ParseException
 
ParseException(String, Throwable) - Constructor for exception com.hp.hpl.sparta.ParseException
 
ParseException(String, int, int, String, String) - Constructor for exception com.hp.hpl.sparta.ParseException
 
ParseException(ParseLog, String, int, int, String, String) - Constructor for exception com.hp.hpl.sparta.ParseException
 
ParseException(ParseCharStream, String) - Constructor for exception com.hp.hpl.sparta.ParseException
 
ParseException(ParseCharStream, char, char) - Constructor for exception com.hp.hpl.sparta.ParseException
 
ParseException(ParseCharStream, char, char[]) - Constructor for exception com.hp.hpl.sparta.ParseException
Precondition: expected.length > 0
ParseException(ParseCharStream, char, String) - Constructor for exception com.hp.hpl.sparta.ParseException
 
ParseException(ParseCharStream, String, String) - Constructor for exception com.hp.hpl.sparta.ParseException
 
ParseException(ParseCharStream, String, char[]) - Constructor for exception com.hp.hpl.sparta.ParseException
 
ParseHandler - Interface in com.hp.hpl.sparta
This interface defines the SAX Parser interface for Sparta.
ParseLog - Interface in com.hp.hpl.sparta
The parser uses this to report errors.
Parser - Class in com.hp.hpl.sparta
Provides a simple interface to the XML parser.
Parser() - Constructor for class com.hp.hpl.sparta.Parser
 
ParseSource - Interface in com.hp.hpl.sparta
A source of XML that has been parsed.
PinyinHelper - Class in net.sourceforge.pinyin4j
A class provides several utility functions to convert Chinese characters (both Simplified and Tranditional) into various Chinese Romanization representations
PositionEqualsExpr - Class in com.hp.hpl.sparta.xpath
Test position within element list.
PositionEqualsExpr(int) - Constructor for class com.hp.hpl.sparta.xpath.PositionEqualsExpr
 
pushBack() - Method in class com.hp.hpl.sparta.xpath.SimpleStreamTokenizer
 
put(Object, Object) - Method in interface com.hp.hpl.sparta.Sparta.Cache
 
put(String, Trie) - Method in class net.sourceforge.pinyin4j.multipinyin.Trie
 

R

removeAttribute(String) - Method in class com.hp.hpl.sparta.Element
remove this attribute if it exists, otherwise silently do nothing.
removeChild(Node) - Method in class com.hp.hpl.sparta.Element
 
replaceChild(Element, Node) - Method in class com.hp.hpl.sparta.Element
Replace oldChild with newChild.
replaceChild(Text, Node) - Method in class com.hp.hpl.sparta.Element
Replace oldChild with newChild.
restoreDefault() - Method in class net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat
Restore default variable values for this class Default values are listed below:

S

setAnnotation(Object) - Method in class com.hp.hpl.sparta.Node
Use by client to attach arbitrary data to DOM document.
setAttribute(String, String) - Method in class com.hp.hpl.sparta.Element
 
setCacheFactory(Sparta.CacheFactory) - Static method in class com.hp.hpl.sparta.Sparta
Change the caching to something custom.
setCaseType(HanyuPinyinCaseType) - Method in class net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat
Define the output cases of Hanyu Pinyin characters
setData(String) - Method in class com.hp.hpl.sparta.Text
 
setDocumentElement(Element) - Method in class com.hp.hpl.sparta.Document
Set the root element of this DOM tree.
setInternment(Sparta.Internment) - Static method in class com.hp.hpl.sparta.Sparta
Change the String intern to something custom.
setName(String) - Method in class net.sourceforge.pinyin4j.format.HanyuPinyinCaseType
 
setName(String) - Method in class net.sourceforge.pinyin4j.format.HanyuPinyinToneType
 
setName(String) - Method in class net.sourceforge.pinyin4j.format.HanyuPinyinVCharType
 
setNextTire(Trie) - Method in class net.sourceforge.pinyin4j.multipinyin.Trie
 
setParseSource(ParseSource) - Method in class com.hp.hpl.sparta.DefaultParseHandler
 
setParseSource(ParseSource) - Method in interface com.hp.hpl.sparta.ParseHandler
 
setPinyin(String) - Method in class net.sourceforge.pinyin4j.multipinyin.Trie
 
setSystemId(String) - Method in class com.hp.hpl.sparta.Document
 
setTagName(String) - Method in class com.hp.hpl.sparta.Element
 
setToneType(HanyuPinyinToneType) - Method in class net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat
Define the output format of Chinese tones
setVCharType(HanyuPinyinVCharType) - Method in class net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat
Define the output format of character 'ü'
SimpleStreamTokenizer - Class in com.hp.hpl.sparta.xpath
Simplified replacement for java.util.StreamTokenizer which is not avilable in J2ME.
SimpleStreamTokenizer(Reader) - Constructor for class com.hp.hpl.sparta.xpath.SimpleStreamTokenizer
 
size() - Method in class com.hp.hpl.sparta.Document.Index
 
size() - Method in interface com.hp.hpl.sparta.Sparta.Cache
 
Sparta - Class in com.hp.hpl.sparta
This utility class allows you to configure some low-level behavior of the Sparta code such as caching and String interning.
Sparta() - Constructor for class com.hp.hpl.sparta.Sparta
 
Sparta.Cache - Interface in com.hp.hpl.sparta
What a CacheFactory generates.
Sparta.CacheFactory - Interface in com.hp.hpl.sparta
You should pass an object that implements this interface to setCacheFactory.
Sparta.Internment - Interface in com.hp.hpl.sparta
Pass an object that implements this interface to setInternment.
startDocument() - Method in class com.hp.hpl.sparta.DefaultParseHandler
 
startDocument() - Method in interface com.hp.hpl.sparta.ParseHandler
 
startElement(Element) - Method in class com.hp.hpl.sparta.DefaultParseHandler
 
startElement(Element) - Method in interface com.hp.hpl.sparta.ParseHandler
 
Step - Class in com.hp.hpl.sparta.xpath
One of the steps which, separated by slashes, make up an XPath expression.
sval - Variable in class com.hp.hpl.sparta.xpath.SimpleStreamTokenizer
 

T

Text - Class in com.hp.hpl.sparta
A section of text in an element.
Text(String) - Constructor for class com.hp.hpl.sparta.Text
Create with an initial character as its data.
Text(char) - Constructor for class com.hp.hpl.sparta.Text
Create with an initial character as its data.
TextCompareExpr - Class in com.hp.hpl.sparta.xpath
Compare text value.
TextEqualsExpr - Class in com.hp.hpl.sparta.xpath
[text()='value'] expression Copyright (C) 2002 Hewlett-Packard Company.
TextExistsExpr - Class in com.hp.hpl.sparta.xpath
[text()] expression This is part of the GoF Flyweight(195) pattern -- Only one object of this class ever exists, shared amongst all clients.
TextNotEqualsExpr - Class in com.hp.hpl.sparta.xpath
An expression testing that the text node is not equal to a given string.
TextTest - Class in com.hp.hpl.sparta.xpath
A "text()" node test in a Xpath step.
ThisNodeTest - Class in com.hp.hpl.sparta.xpath
A '.' node test.
toGwoyeuRomatzyhStringArray(char) - Static method in class net.sourceforge.pinyin4j.PinyinHelper
Get all unformmatted Gwoyeu Romatzyh presentations of a single Chinese character (both Simplified and Tranditional)
toHanYuPinyinString(String, HanyuPinyinOutputFormat, String, boolean) - Static method in class net.sourceforge.pinyin4j.PinyinHelper
Get a string which all Chinese characters are replaced by corresponding main (first) Hanyu Pinyin representation.
toHanyuPinyinStringArray(char) - Static method in class net.sourceforge.pinyin4j.PinyinHelper
Get all unformmatted Hanyu Pinyin presentations of a single Chinese character (both Simplified and Tranditional)
toHanyuPinyinStringArray(char, HanyuPinyinOutputFormat) - Static method in class net.sourceforge.pinyin4j.PinyinHelper
Get all Hanyu Pinyin presentations of a single Chinese character (both Simplified and Tranditional)
toMPS2PinyinStringArray(char) - Static method in class net.sourceforge.pinyin4j.PinyinHelper
Get all unformmatted MPS2 (Mandarin Phonetic Symbols 2) presentations of a single Chinese character (both Simplified and Tranditional)
toString() - Method in class com.hp.hpl.sparta.Document
Same as getSystemId
toString(Writer) - Method in class com.hp.hpl.sparta.Document
Accumulate text nodes hierarchically.
toString() - Method in class com.hp.hpl.sparta.Node
Hierarchically concatenated text nodes.
toString() - Method in interface com.hp.hpl.sparta.ParseSource
 
toString() - Method in class com.hp.hpl.sparta.xpath.AllElementTest
 
toString(String) - Method in class com.hp.hpl.sparta.xpath.AttrCompareExpr
 
toString() - Method in class com.hp.hpl.sparta.xpath.AttrEqualsExpr
 
toString() - Method in class com.hp.hpl.sparta.xpath.AttrExistsExpr
 
toString() - Method in class com.hp.hpl.sparta.xpath.AttrExpr
 
toString() - Method in class com.hp.hpl.sparta.xpath.AttrGreaterExpr
 
toString() - Method in class com.hp.hpl.sparta.xpath.AttrLessExpr
 
toString() - Method in class com.hp.hpl.sparta.xpath.AttrNotEqualsExpr
 
toString(String) - Method in class com.hp.hpl.sparta.xpath.AttrRelationalExpr
 
toString() - Method in class com.hp.hpl.sparta.xpath.AttrTest
 
toString() - Method in class com.hp.hpl.sparta.xpath.ElementTest
 
toString() - Method in class com.hp.hpl.sparta.xpath.ParentNodeTest
 
toString() - Method in class com.hp.hpl.sparta.xpath.PositionEqualsExpr
 
toString() - Method in class com.hp.hpl.sparta.xpath.SimpleStreamTokenizer
 
toString() - Method in class com.hp.hpl.sparta.xpath.Step
 
toString(String) - Method in class com.hp.hpl.sparta.xpath.TextCompareExpr
 
toString() - Method in class com.hp.hpl.sparta.xpath.TextEqualsExpr
 
toString() - Method in class com.hp.hpl.sparta.xpath.TextExistsExpr
 
toString() - Method in class com.hp.hpl.sparta.xpath.TextNotEqualsExpr
 
toString() - Method in class com.hp.hpl.sparta.xpath.TextTest
 
toString() - Method in class com.hp.hpl.sparta.xpath.ThisNodeTest
 
toString() - Method in class com.hp.hpl.sparta.xpath.TrueExpr
 
toString() - Method in class com.hp.hpl.sparta.xpath.XPath
 
toTongyongPinyinStringArray(char) - Static method in class net.sourceforge.pinyin4j.PinyinHelper
Get all unformmatted Tongyong Pinyin presentations of a single Chinese character (both Simplified and Tranditional)
toWadeGilesPinyinStringArray(char) - Static method in class net.sourceforge.pinyin4j.PinyinHelper
Get all unformmatted Wade-Giles presentations of a single Chinese character (both Simplified and Tranditional)
toXml(Writer) - Method in class com.hp.hpl.sparta.Document
Write DOM to XML.
toXml(Writer) - Method in class com.hp.hpl.sparta.Element
Write XML representation to character stream.
toXml() - Method in class com.hp.hpl.sparta.Node
XML representation of this node.
toYalePinyinStringArray(char) - Static method in class net.sourceforge.pinyin4j.PinyinHelper
Get all unformmatted Yale Pinyin presentations of a single Chinese character (both Simplified and Tranditional)
Trie - Class in net.sourceforge.pinyin4j.multipinyin
Created by 刘一波 on 16/3/4.
Trie() - Constructor for class net.sourceforge.pinyin4j.multipinyin.Trie
 
TrueExpr - Class in com.hp.hpl.sparta.xpath
The boolean constant "true".
TT_EOF - Static variable in class com.hp.hpl.sparta.xpath.SimpleStreamTokenizer
 
TT_NUMBER - Static variable in class com.hp.hpl.sparta.xpath.SimpleStreamTokenizer
 
TT_WORD - Static variable in class com.hp.hpl.sparta.xpath.SimpleStreamTokenizer
 
ttype - Variable in class com.hp.hpl.sparta.xpath.SimpleStreamTokenizer
 

U

update(Document) - Method in class com.hp.hpl.sparta.Document.Index
 
update(Document) - Method in interface com.hp.hpl.sparta.Document.Observer
Called when the document changes.
UPPERCASE - Static variable in class net.sourceforge.pinyin4j.format.HanyuPinyinCaseType
The option indicates that hanyu pinyin is outputted as uppercase letters

V

visit(TrueExpr) - Method in interface com.hp.hpl.sparta.xpath.BooleanExprVisitor
 
visit(AttrExistsExpr) - Method in interface com.hp.hpl.sparta.xpath.BooleanExprVisitor
 
visit(AttrEqualsExpr) - Method in interface com.hp.hpl.sparta.xpath.BooleanExprVisitor
 
visit(AttrNotEqualsExpr) - Method in interface com.hp.hpl.sparta.xpath.BooleanExprVisitor
 
visit(AttrLessExpr) - Method in interface com.hp.hpl.sparta.xpath.BooleanExprVisitor
 
visit(AttrGreaterExpr) - Method in interface com.hp.hpl.sparta.xpath.BooleanExprVisitor
 
visit(TextExistsExpr) - Method in interface com.hp.hpl.sparta.xpath.BooleanExprVisitor
 
visit(TextEqualsExpr) - Method in interface com.hp.hpl.sparta.xpath.BooleanExprVisitor
 
visit(TextNotEqualsExpr) - Method in interface com.hp.hpl.sparta.xpath.BooleanExprVisitor
 
visit(PositionEqualsExpr) - Method in interface com.hp.hpl.sparta.xpath.BooleanExprVisitor
 
visit(AllElementTest) - Method in interface com.hp.hpl.sparta.xpath.NodeTestVisitor
 
visit(ThisNodeTest) - Method in interface com.hp.hpl.sparta.xpath.NodeTestVisitor
 
visit(ParentNodeTest) - Method in interface com.hp.hpl.sparta.xpath.NodeTestVisitor
 
visit(ElementTest) - Method in interface com.hp.hpl.sparta.xpath.NodeTestVisitor
 
visit(AttrTest) - Method in interface com.hp.hpl.sparta.xpath.NodeTestVisitor
 
visit(TextTest) - Method in interface com.hp.hpl.sparta.xpath.NodeTestVisitor
 
Visitor - Interface in com.hp.hpl.sparta.xpath
Something that crawls over the parse tree.

W

warning(String, String, int) - Method in interface com.hp.hpl.sparta.ParseLog
 
WITH_TONE_MARK - Static variable in class net.sourceforge.pinyin4j.format.HanyuPinyinToneType
The option indicates that hanyu pinyin is outputted with tone marks
WITH_TONE_NUMBER - Static variable in class net.sourceforge.pinyin4j.format.HanyuPinyinToneType
The option indicates that hanyu pinyin is outputted with tone numbers
WITH_U_AND_COLON - Static variable in class net.sourceforge.pinyin4j.format.HanyuPinyinVCharType
The option indicates that the output of 'ü' is "u:"
WITH_U_UNICODE - Static variable in class net.sourceforge.pinyin4j.format.HanyuPinyinVCharType
The option indicates that the output of 'ü' is "ü" in Unicode form
WITH_V - Static variable in class net.sourceforge.pinyin4j.format.HanyuPinyinVCharType
The option indicates that the output of 'ü' is "v"
WITHOUT_TONE - Static variable in class net.sourceforge.pinyin4j.format.HanyuPinyinToneType
The option indicates that hanyu pinyin is outputted without tone numbers or tone marks
wordChars(char, char) - Method in class com.hp.hpl.sparta.xpath.SimpleStreamTokenizer
precondition 0<=ch && ch<128

X

XPath - Class in com.hp.hpl.sparta.xpath
The root of the parse tree for an XPath expression.
xpathEnsure(String) - Method in class com.hp.hpl.sparta.Document
Just like Element.xpathEnsure, but also handles case of no documentElement.
xpathEnsure(String) - Method in class com.hp.hpl.sparta.Element
Make sure this XPath exists, creating nodes if necessary, returning true if any nodes created.
XPathException - Exception in com.hp.hpl.sparta.xpath
Thrown when some problem parsing or executing an XPath expression.
XPathException(XPath, String) - Constructor for exception com.hp.hpl.sparta.xpath.XPathException
 
xpathGetIndex(String) - Method in class com.hp.hpl.sparta.Document
For faster lookup by XPath return (creating if necessary) an index.
xpathHasIndex(String) - Method in class com.hp.hpl.sparta.Document
 
xpathSelectElement(String) - Method in class com.hp.hpl.sparta.Document
Select the first element that matches the absolute XPath expression in this document, or null if there is no match.
xpathSelectElement(String) - Method in class com.hp.hpl.sparta.Element
Select the first element that matches the relative XPath expression with respect to this element, or null if there is no match.
xpathSelectElement(String) - Method in class com.hp.hpl.sparta.Node
Select the first element that matches the relative XPath expression with respect to this node, or null if there is no match.
xpathSelectElement(String) - Method in class com.hp.hpl.sparta.Text
Not implemented.
xpathSelectElements(String) - Method in class com.hp.hpl.sparta.Document
Select all the elements that match the absolute XPath expression in this document.
xpathSelectElements(String) - Method in class com.hp.hpl.sparta.Element
Select all the elements that match the relative XPath expression with respect to this element.
xpathSelectElements(String) - Method in class com.hp.hpl.sparta.Node
Select all the elements that match the relative XPath expression with respect to this node.
xpathSelectElements(String) - Method in class com.hp.hpl.sparta.Text
Not implemented.
xpathSelectString(String) - Method in class com.hp.hpl.sparta.Document
Select the first element that matches the absolute XPath expression in this document, or null if there is no match.
xpathSelectString(String) - Method in class com.hp.hpl.sparta.Element
Select the first element that matches the relative XPath expression with respect to this element, or null if there is no match.
xpathSelectString(String) - Method in class com.hp.hpl.sparta.Node
Select the first element that matches the relative XPath expression with respect to this node, or null if there is no match.
xpathSelectString(String) - Method in class com.hp.hpl.sparta.Text
Not implemented.
xpathSelectStrings(String) - Method in class com.hp.hpl.sparta.Document
Select all the strings that match the absolute XPath expression in this document.
xpathSelectStrings(String) - Method in class com.hp.hpl.sparta.Element
Select all the strings that match the relative XPath expression with respect to this element.
xpathSelectStrings(String) - Method in class com.hp.hpl.sparta.Node
Select all the strings that match the relative XPath expression with respect to this node.
xpathSelectStrings(String) - Method in class com.hp.hpl.sparta.Text
Not implemented
xpathSetStrings(String, String) - Method in class com.hp.hpl.sparta.Node
For an xpath expression of the form "xpathPrefix/@attrName" set the attribute "attrName" to attrValue on all elements that match "XpathPrefix" which is an arbitrary xpath expression matching elements, or for an xpath expression of the form "xpathPrefixe/text()" set the text of all matching text nodes.
A B C D E G H I L M N O P R S T U V W X 

Copyright © 2016. All Rights Reserved.