java.lang.Object | ||
↳ | org.apache.xerces.xinclude.XIncludeHandler | |
↳ | org.apache.xerces.xpointer.XPointerHandler |
This is a pipeline component which extends the XIncludeHandler to perform XPointer specific processing specified in the W3C XPointerFramework and element() Scheme Recommendations.
This component analyzes each event in the pipeline, looking for an element that matches a PointerPart in the parent XInclude element's xpointer attribute value. If the match succeeds, all children are passed by this component.
See the XPointer Framework Recommendation for more information on the XPointer Framework and ShortHand Pointers. See the XPointer element() Scheme Recommendation for more information on the XPointer element() Scheme.
@xerces.internal
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.xerces.xinclude.XIncludeHandler
| |||||||||||
From interface
org.apache.xerces.xni.XMLDTDHandler
| |||||||||||
From interface
org.apache.xerces.xpointer.XPointerProcessor
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
fErrorHandler | |||||||||||
fFixupBase | |||||||||||
fFixupLang | |||||||||||
fFoundMatchingPtrPart | |||||||||||
fIsXPointerResolved | |||||||||||
fSymbolTable | |||||||||||
fXPointerErrorReporter | |||||||||||
fXPointerPart | |||||||||||
fXPointerParts |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.xerces.xinclude.XIncludeHandler
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Character content.
| |||||||||||
If the comment is a child of a matched element, then pass else return.
| |||||||||||
An empty element.
| |||||||||||
The end of a CDATA section.
| |||||||||||
The end of an element.
| |||||||||||
Returns a Vector of XPointerPart objects
| |||||||||||
Returns the pointer part used to resolve the document fragment.
| |||||||||||
Ignorable whitespace.
| |||||||||||
Returns true if the XPointer expression resolves to a non-element child
of the current resource fragment.
| |||||||||||
Returns true if the Node fragment is resolved.
| |||||||||||
Returns true if the XPointer successfully found a sub-resource .
| |||||||||||
Parses the XPointer framework expression and delegates scheme specific parsing.
| |||||||||||
A processing instruction.
| |||||||||||
Evaluates an XML resource with respect to an XPointer expressions
by checking if it's element and attributes parameters match the
criteria specified in the xpointer expression.
| |||||||||||
Sets the document handler.
| |||||||||||
Sets the value of a property. | |||||||||||
The start of a CDATA section.
| |||||||||||
The start of an element.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Initializes the XPointer Processor;
| |||||||||||
Initializes error handling objects
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.xerces.xinclude.XIncludeHandler
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.apache.xerces.xni.XMLDTDHandler
| |||||||||||
From interface
org.apache.xerces.xni.XMLDocumentHandler
| |||||||||||
From interface
org.apache.xerces.xni.parser.XMLComponent
| |||||||||||
From interface
org.apache.xerces.xni.parser.XMLDTDSource
| |||||||||||
From interface
org.apache.xerces.xni.parser.XMLDocumentSource
| |||||||||||
From interface
org.apache.xerces.xpointer.XPointerProcessor
|
Character content.
text | The content. |
---|---|
augs | Additional information that may include infoset augmentations |
XNIException | Thrown by handler to signal an error. |
---|
If the comment is a child of a matched element, then pass else return.
text | The text in the comment. |
---|---|
augs | Additional information that may include infoset augmentations |
XNIException | Thrown by application to signal an error. |
---|
An empty element.
element | The name of the element. |
---|---|
attributes | The element attributes. |
augs | Additional information that may include infoset augmentations |
XNIException | Thrown by handler to signal an error. |
---|
The end of a CDATA section.
augs | Additional information that may include infoset augmentations |
---|
XNIException | Thrown by handler to signal an error. |
---|
The end of an element.
element | The name of the element. |
---|---|
augs | Additional information that may include infoset augmentations |
XNIException | Thrown by handler to signal an error. |
---|
Returns a Vector of XPointerPart objects
Returns the pointer part used to resolve the document fragment.
Ignorable whitespace. For this method to be called, the document source must have some way of determining that the text containing only whitespace characters should be considered ignorable. For example, the validator can determine if a length of whitespace characters in the document are ignorable based on the element content model.
text | The ignorable whitespace. |
---|---|
augs | Additional information that may include infoset augmentations |
XNIException | Thrown by handler to signal an error. |
---|
Returns true if the XPointer expression resolves to a non-element child of the current resource fragment.
XNIException |
---|
Returns true if the Node fragment is resolved.
XNIException |
---|
Returns true if the XPointer successfully found a sub-resource .
XNIException |
---|
Parses the XPointer framework expression and delegates scheme specific parsing.
xpointer | A String representing the xpointer expression. |
---|
XNIException |
---|
A processing instruction. Processing instructions consist of a target name and, optionally, text data. The data is only meaningful to the application.
Typically, a processing instruction's data will contain a series of pseudo-attributes. These pseudo-attributes follow the form of element attributes but are not parsed or presented to the application as anything other than text. The application is responsible for parsing the data.
target | The target. |
---|---|
data | The data or null if none specified. |
augs | Additional information that may include infoset augmentations |
XNIException | Thrown by handler to signal an error. |
---|
Evaluates an XML resource with respect to an XPointer expressions by checking if it's element and attributes parameters match the criteria specified in the xpointer expression.
element | - The name of the element. |
---|---|
attributes | - The element attributes. |
augs | - Additional information that may include infoset augmentations |
event | - An integer indicating 0 - The start of an element 1 - The end of an element 2 - An empty element call |
XNIException |
---|
Sets the value of a property. This method is called by the component manager any time after reset when a property changes value.
Note: Components should silently ignore properties that do not affect the operation of the component.propertyId | The property identifier. |
---|---|
value | The value of the property. |
XMLConfigurationException | Thrown for configuration error. In general, components should only throw this exception if it is really a critical error. |
---|
The start of a CDATA section.
augs | Additional information that may include infoset augmentations |
---|
XNIException | Thrown by handler to signal an error. |
---|
The start of an element.
element | The name of the element. |
---|---|
attributes | The element attributes. |
augs | Additional information that may include infoset augmentations |
XNIException | Thrown by handler to signal an error. |
---|
Initializes the XPointer Processor;
Initializes error handling objects