| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private class | MultiDOM.
This is a specialised iterator for predicates comparing node or attribute values to variable or parameter values. |
| Modifier and Type | Field and Description |
|---|---|
| private DOM[] | |
| private Map | |
| private DTMManager | |
| private int | |
| private DOMAdapter | |
| private int | |
| private static final int | |
| private static final int |
| _adapters | back to summary |
|---|---|
| private DOM[] _adapters | |
| _documents | back to summary |
|---|---|
| private Map<String, Integer> _documents | |
| _dtmManager | back to summary |
|---|---|
| private DTMManager _dtmManager | |
| _free | back to summary |
|---|---|
| private int _free | |
| _main | back to summary |
|---|---|
| private DOMAdapter _main | |
| _size | back to summary |
|---|---|
| private int _size | |
| INITIAL_SIZE | back to summary |
|---|---|
| private static final int INITIAL_SIZE | |
| NO_TYPE | back to summary |
|---|---|
| private static final int NO_TYPE | |
| MultiDOM | back to summary |
|---|---|
| public MultiDOM(DOM main) | |
| addDOMAdapter | back to summary |
|---|---|
| public int addDOMAdapter(DOMAdapter adapter) | |
| addDOMAdapter | back to summary |
|---|---|
| private int addDOMAdapter(DOMAdapter adapter, boolean indexByURI) | |
| characters | back to summary |
|---|---|
| public void characters(final int textNode, SerializationHandler handler) throws TransletException Implements com. | |
| copy | back to summary |
|---|---|
| public void copy(final int node, SerializationHandler handler) throws TransletException Implements com. | |
| copy | back to summary |
|---|---|
| public void copy(DTMAxisIterator nodes, SerializationHandler handler) throws TransletException Implements com. | |
| getAttributeNode | back to summary |
|---|---|
| public int getAttributeNode(final int type, final int el) Implements com. | |
| getAxisIterator | back to summary |
|---|---|
| public DTMAxisIterator getAxisIterator(final int axis) Implements com. | |
| getChildren | back to summary |
|---|---|
| public DTMAxisIterator getChildren(final int node) Implements com. | |
| getDocument | back to summary |
|---|---|
| public int getDocument() Implements com. | |
| getDocumentMask | back to summary |
|---|---|
| public int getDocumentMask(String uri) | |
| getDocumentURI | back to summary |
|---|---|
| public String getDocumentURI(int node) Implements com. | |
| getDOMAdapter | back to summary |
|---|---|
| public DOM getDOMAdapter(String uri) | |
| getDTM | back to summary |
|---|---|
| public DOM getDTM(int nodeHandle) | |
| getDTMId | back to summary |
|---|---|
| public int getDTMId(int nodeHandle) | |
| getDTMManager | back to summary |
|---|---|
| public DTMManager getDTMManager() | |
| getElementsWithIDs | back to summary |
|---|---|
| public Map Implements com. | |
| getExpandedTypeID | back to summary |
|---|---|
| public int getExpandedTypeID(final int node) Implements com. | |
| getIterator | back to summary |
|---|---|
| public DTMAxisIterator getIterator() Implements com. Returns singleton iterator containing the document root | |
| getLanguage | back to summary |
|---|---|
| public String getLanguage(int node) Implements com. | |
| getMain | back to summary |
|---|---|
| public DOM getMain() | |
| getNamespaceAxisIterator | back to summary |
|---|---|
| public DTMAxisIterator getNamespaceAxisIterator(final int axis, final int ns) Implements com. | |
| getNamespaceName | back to summary |
|---|---|
| public String getNamespaceName(final int node) Implements com. | |
| getNamespaceType | back to summary |
|---|---|
| public int getNamespaceType(final int node) Implements com. | |
| getNodeHandle | back to summary |
|---|---|
| public int getNodeHandle(int nodeId) Implements com. | |
| getNodeIdent | back to summary |
|---|---|
| public int getNodeIdent(int nodeHandle) Implements com. | |
| getNodeName | back to summary |
|---|---|
| public String getNodeName(final int node) Implements com. | |
| getNodeNameX | back to summary |
|---|---|
| public String getNodeNameX(final int node) Implements com. | |
| getNodeValueIterator | back to summary |
|---|---|
| public DTMAxisIterator getNodeValueIterator(DTMAxisIterator iterator, int type, String value, boolean op) Implements com. | |
| getNSType | back to summary |
|---|---|
| public int getNSType(int node) Implements com. | |
| getNthDescendant | back to summary |
|---|---|
| public DTMAxisIterator getNthDescendant(int node, int n, boolean includeself) Implements com. | |
| getOutputDomBuilder | back to summary |
|---|---|
| public SerializationHandler getOutputDomBuilder() Implements com. Returns a DOMBuilder class wrapped in a SAX adapter. | |
| getParent | back to summary |
|---|---|
| public int getParent(final int node) Implements com. | |
| getResultTreeFrag | back to summary |
|---|---|
| public DOM getResultTreeFrag(int initSize, int rtfType) Implements com. | |
| getResultTreeFrag | back to summary |
|---|---|
| public DOM getResultTreeFrag(int initSize, int rtfType, boolean addToManager) Implements com. | |
| getSize | back to summary |
|---|---|
| public int getSize() Implements com. | |
| getStringValue | back to summary |
|---|---|
| public String getStringValue() Implements com. | |
| getStringValueX | back to summary |
|---|---|
| public String getStringValueX(final int node) Implements com. | |
| getTypedAxisIterator | back to summary |
|---|---|
| public DTMAxisIterator getTypedAxisIterator(final int axis, final int type) Implements com. | |
| getTypedChildren | back to summary |
|---|---|
| public DTMAxisIterator getTypedChildren(final int type) Implements com. | |
| getUnparsedEntityURI | back to summary |
|---|---|
| public String getUnparsedEntityURI(String entity) Implements com. | |
| isAttribute | back to summary |
|---|---|
| public boolean isAttribute(final int node) Implements com. | |
| isElement | back to summary |
|---|---|
| public boolean isElement(final int node) Implements com. | |
| isMatchingAdapterEntry | back to summary |
|---|---|
| private boolean isMatchingAdapterEntry(DOM entry, DOMAdapter adapter) | |
| lessThan | back to summary |
|---|---|
| public boolean lessThan(final int node1, final int node2) Implements com. | |
| lookupNamespace | back to summary |
|---|---|
| public String lookupNamespace(int node, String prefix) throws TransletException Implements com. | |
| makeNode | back to summary |
|---|---|
| public Node makeNode(int index) Implements com. | |
| makeNode | back to summary |
|---|---|
| public Node makeNode(DTMAxisIterator iter) Implements com. | |
| makeNodeList | back to summary |
|---|---|
| public NodeList makeNodeList(int index) Implements com. | |
| makeNodeList | back to summary |
|---|---|
| public NodeList makeNodeList(DTMAxisIterator iter) Implements com. | |
| nextMask | back to summary |
|---|---|
| public int nextMask() | |
| orderNodes | back to summary |
|---|---|
| public DTMAxisIterator orderNodes(DTMAxisIterator source, int node) Implements com. | |
| release | back to summary |
|---|---|
| public void release() Implements com. | |
| removeDOMAdapter | back to summary |
|---|---|
| public void removeDOMAdapter(DOMAdapter adapter) | |
| setFilter | back to summary |
|---|---|
| public void setFilter(StripFilter filter) Implements com. | |
| setupMapping | back to summary |
|---|---|
| public void setupMapping(String[] names, String[] uris, int[] types, String[] namespaces) Implements com. | |
| shallowCopy | back to summary |
|---|---|
| public String shallowCopy(final int node, SerializationHandler handler) throws TransletException Implements com. | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private int | |
| private DTMAxisIterator | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| _axis | back to summary |
|---|---|
| private final int _axis | |
| _dtmId | back to summary |
|---|---|
| private int _dtmId | |
| _source | back to summary |
|---|---|
| private DTMAxisIterator _source | |
| _type | back to summary |
|---|---|
| private final int _type | |
| AxisIterator | back to summary |
|---|---|
| public AxisIterator(final int axis, final int type) | |
| cloneIterator | back to summary |
|---|---|
| public DTMAxisIterator cloneIterator() Overrides com. Implements com. Doc from com. Returns a deep copy of this iterator. Cloned iterators may not be restartable. The iterator being cloned may or may not become non-restartable as a side effect of this operation. | |
| getLast | back to summary |
|---|---|
| public int getLast() Overrides com. Implements com. Doc from com. Returns the position of the last node within the iteration, as defined by XPath. In a forward iterator, I believe this equals the number of nodes which this iterator will yield. In a reverse iterator, I believe it should return 1 (since the "last" is the first produced.) This may be an expensive operation when called the first time, since it may have to iterate through a large part of the document to produce its answer. | |
| getPosition | back to summary |
|---|---|
| public int getPosition() Overrides com. Implements com. | |
| gotoMark | back to summary |
|---|---|
| public void gotoMark() Implements com. Doc from com. Restores the current node remembered by setMark(). | |
| isReverse | back to summary |
|---|---|
| public boolean isReverse() Overrides com. Implements com. | |
| next | back to summary |
|---|---|
| public int next() Implements com. Doc from com. Get the next node in the iteration. | |
| reset | back to summary |
|---|---|
| public DTMAxisIterator reset() Overrides com. Implements com. Doc from com. Resets the iterator to the last start node. | |
| setMark | back to summary |
|---|---|
| public void setMark() Implements com. Doc from com. Remembers the current node for the next call to gotoMark(). | |
| setRestartable | back to summary |
|---|---|
| public void setRestartable(boolean flag) Overrides com. Implements com. Doc from com. Set if restartable. | |
| setStartNode | back to summary |
|---|---|
| public DTMAxisIterator setStartNode(final int node) Implements com. Doc from com. Set start to END should 'close' the iterator, i.e. subsequent call to next() should return END. | |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private boolean | |
| private int | |
| private DTMAxisIterator | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| _isReverse | back to summary |
|---|---|
| private final boolean _isReverse | |
| _op | back to summary |
|---|---|
| private boolean _op | |
| _returnType | back to summary |
|---|---|
| private int _returnType | |
| _source | back to summary |
|---|---|
| private DTMAxisIterator _source | |
| _value | back to summary |
|---|---|
| private String _value | |
| NodeValueIterator | back to summary |
|---|---|
| public NodeValueIterator(DTMAxisIterator source, int returnType, String value, boolean op) | |
| cloneIterator | back to summary |
|---|---|
| public DTMAxisIterator cloneIterator() Overrides com. Implements com. Doc from com. Returns a deep copy of this iterator. Cloned iterators may not be restartable. The iterator being cloned may or may not become non-restartable as a side effect of this operation. | |
| gotoMark | back to summary |
|---|---|
| public void gotoMark() Implements com. Doc from com. Restores the current node remembered by setMark(). | |
| isReverse | back to summary |
|---|---|
| public boolean isReverse() Overrides com. Implements com. | |
| next | back to summary |
|---|---|
| public int next() Implements com. Doc from com. Get the next node in the iteration. | |
| reset | back to summary |
|---|---|
| public DTMAxisIterator reset() Overrides com. Implements com. Doc from com. Resets the iterator to the last start node. | |
| setMark | back to summary |
|---|---|
| public void setMark() Implements com. Doc from com. Remembers the current node for the next call to gotoMark(). | |
| setRestartable | back to summary |
|---|---|
| public void setRestartable(boolean isRestartable) Overrides com. Implements com. Doc from com. Set if restartable. | |
| setStartNode | back to summary |
|---|---|
| public DTMAxisIterator setStartNode(int node) Implements com. Doc from com. Set start to END should 'close' the iterator, i.e. subsequent call to next() should return END. | |