java.lang.Object | |
↳ | org.apache.xerces.impl.xs.identity.XPathMatcher |
Known Direct Subclasses |
XPath matcher.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | DEBUG_ALL | Compile to true to debug everything. | |||||||||
boolean | DEBUG_ANY | Don't touch this value unless you add more debug constants. | |||||||||
boolean | DEBUG_MATCH | Compile to true to debug match. | |||||||||
boolean | DEBUG_METHODS | Compile to true to debug method callbacks. | |||||||||
boolean | DEBUG_METHODS2 | Compile to true to debug important method callbacks. | |||||||||
boolean | DEBUG_METHODS3 | Compile to true to debug the really important methods. | |||||||||
boolean | DEBUG_STACK | Compile to true to debug step index stack. | |||||||||
int | MATCHED | ||||||||||
int | MATCHED_ATTRIBUTE | ||||||||||
int | MATCHED_DESCENDANT | ||||||||||
int | MATCHED_DESCENDANT_PREVIOUS |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
fMatchedString | The matching string. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an XPath matcher that implements a document fragment
handler.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns value of first member of fMatched that
is nonzero.
| |||||||||||
The start of the document fragment.
| |||||||||||
The start of an element.
| |||||||||||
Returns a string representation of this object.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is called when the XPath handler matches the
XPath expression.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Compile to true to debug everything.
Don't touch this value unless you add more debug constants.
Compile to true to debug match.
Compile to true to debug method callbacks.
Compile to true to debug important method callbacks.
Compile to true to debug the really important methods.
Compile to true to debug step index stack.
Constructs an XPath matcher that implements a document fragment handler.
xpath | The xpath. |
---|
element | name of the element. |
---|---|
type | content type of this element. IOW, the XML schema type of the value. Note that this may not be the type declared in the element declaration, but it is "the actual type". For example, if the XML is <foo xsi:type="xs:string">aaa</foo>, this parameter will be "xs:string". |
nillable | - nillable true if the element declaration is nillable. |
value | - actual value the typed value of the content of this element. |
Returns value of first member of fMatched that is nonzero.
The start of the document fragment.
The start of an element. If the document specifies the start element by using an empty tag, then the startElement method will immediately be followed by the endElement method, with no intervening methods.
element | The name of the element. |
---|---|
attributes | The element attributes. |
SAXException | Thrown by handler to signal an error. |
---|
This method is called when the XPath handler matches the XPath expression. Subclasses can override this method to provide default handling upon a match.