public class DocumentNavigator
extends org.jaxen.DefaultNavigator
implements org.jaxen.NamedAccessNavigator
| Modifier and Type | Class and Description |
|---|---|
class |
DocumentNavigator.Namespace |
class |
DocumentNavigator.Property |
| Constructor and Description |
|---|
DocumentNavigator(DictionaryService dictionaryService,
NodeService nodeService,
SearchService searchService,
NamespacePrefixResolver nspr,
boolean followAllParentLinks) |
DocumentNavigator(DictionaryService dictionaryService,
NodeService nodeService,
SearchService searchService,
NamespacePrefixResolver nspr,
boolean followAllParentLinks,
boolean useJCRRootNode)
Deprecated.
useJCRRootNode parameter is now obsolete.
|
getAncestorAxisIterator, getAncestorOrSelfAxisIterator, getDescendantAxisIterator, getDescendantOrSelfAxisIterator, getDocument, getElementById, getNodeType, getParentNode, getProcessingInstructionData, getProcessingInstructionTarget, getSelfAxisIterator, translateNamespacePrefixToUriclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAncestorAxisIterator, getAncestorOrSelfAxisIterator, getDescendantAxisIterator, getDescendantOrSelfAxisIterator, getDocument, getElementById, getNodeType, getParentNode, getProcessingInstructionData, getProcessingInstructionTarget, getSelfAxisIterator, translateNamespacePrefixToUripublic DocumentNavigator(DictionaryService dictionaryService, NodeService nodeService, SearchService searchService, NamespacePrefixResolver nspr, boolean followAllParentLinks, boolean useJCRRootNode)
public DocumentNavigator(DictionaryService dictionaryService, NodeService nodeService, SearchService searchService, NamespacePrefixResolver nspr, boolean followAllParentLinks)
dictionaryService - used to resolve the subtypeOf function and other
type-related functionsnodeService - the NodeService against which to executesearchService - the service that helps resolve functions such as like
and containsnspr - resolves namespaces in the xpathfollowAllParentLinks - true if the XPath should traverse all parent associations when
going up the hierarchy; false if the only the primary
parent-child association should be traversedpublic NamespacePrefixResolver getNamespacePrefixResolver()
public void setFollowAllParentLinks(boolean followAllParentLinks)
followAllParentLinks - truepublic String getAttributeName(Object o)
getAttributeName in interface org.jaxen.Navigatorpublic String getAttributeNamespaceUri(Object o)
getAttributeNamespaceUri in interface org.jaxen.Navigatorpublic String getAttributeQName(Object o)
getAttributeQName in interface org.jaxen.Navigatorpublic String getAttributeStringValue(Object o)
getAttributeStringValue in interface org.jaxen.Navigatorpublic String getCommentStringValue(Object o)
getCommentStringValue in interface org.jaxen.Navigatorpublic String getElementName(Object o)
getElementName in interface org.jaxen.Navigatorpublic String getElementNamespaceUri(Object o)
getElementNamespaceUri in interface org.jaxen.Navigatorpublic String getElementQName(Object o)
getElementQName in interface org.jaxen.Navigatorpublic String getElementStringValue(Object o)
getElementStringValue in interface org.jaxen.Navigatorpublic String getNamespacePrefix(Object o)
getNamespacePrefix in interface org.jaxen.Navigatorpublic String getNamespaceStringValue(Object o)
getNamespaceStringValue in interface org.jaxen.Navigatorpublic String getTextStringValue(Object o)
getTextStringValue in interface org.jaxen.Navigatorpublic boolean isAttribute(Object o)
isAttribute in interface org.jaxen.Navigatorpublic boolean isComment(Object o)
isComment in interface org.jaxen.Navigatorpublic boolean isDocument(Object o)
isDocument in interface org.jaxen.Navigatorpublic boolean isElement(Object o)
isElement in interface org.jaxen.Navigatorpublic boolean isNamespace(Object o)
isNamespace in interface org.jaxen.Navigatorpublic boolean isProcessingInstruction(Object o)
isProcessingInstruction in interface org.jaxen.Navigatorpublic boolean isText(Object o)
isText in interface org.jaxen.Navigatorpublic org.jaxen.XPath parseXPath(String o) throws org.jaxen.JaxenException
parseXPath in interface org.jaxen.Navigatororg.jaxen.JaxenExceptionpublic Iterator getAttributeAxisIterator(Object contextNode, String localName, String namespacePrefix, String namespaceURI) throws org.jaxen.UnsupportedAxisException
getAttributeAxisIterator in interface org.jaxen.NamedAccessNavigatororg.jaxen.UnsupportedAxisExceptionpublic Iterator getAttributeAxisIterator(Object o) throws org.jaxen.UnsupportedAxisException
getAttributeAxisIterator in interface org.jaxen.NavigatorgetAttributeAxisIterator in class org.jaxen.DefaultNavigatororg.jaxen.UnsupportedAxisExceptionpublic Iterator getChildAxisIterator(Object contextNode, String localName, String namespacePrefix, String namespaceURI) throws org.jaxen.UnsupportedAxisException
getChildAxisIterator in interface org.jaxen.NamedAccessNavigatororg.jaxen.UnsupportedAxisExceptionpublic Iterator getChildAxisIterator(Object o) throws org.jaxen.UnsupportedAxisException
getChildAxisIterator in interface org.jaxen.NavigatorgetChildAxisIterator in class org.jaxen.DefaultNavigatororg.jaxen.UnsupportedAxisExceptionpublic Iterator getFollowingSiblingAxisIterator(Object arg0) throws org.jaxen.UnsupportedAxisException
getFollowingSiblingAxisIterator in interface org.jaxen.NavigatorgetFollowingSiblingAxisIterator in class org.jaxen.DefaultNavigatororg.jaxen.UnsupportedAxisExceptionalways thrownpublic Iterator getFollowingAxisIterator(Object arg0) throws org.jaxen.UnsupportedAxisException
getFollowingAxisIterator in interface org.jaxen.NavigatorgetFollowingAxisIterator in class org.jaxen.DefaultNavigatororg.jaxen.UnsupportedAxisExceptionalways thrownpublic Iterator getPrecedingAxisIterator(Object arg0) throws org.jaxen.UnsupportedAxisException
getPrecedingAxisIterator in interface org.jaxen.NavigatorgetPrecedingAxisIterator in class org.jaxen.DefaultNavigatororg.jaxen.UnsupportedAxisExceptionalways thrownpublic Iterator getPrecedingSiblingAxisIterator(Object arg0) throws org.jaxen.UnsupportedAxisException
getPrecedingSiblingAxisIterator in interface org.jaxen.NavigatorgetPrecedingSiblingAxisIterator in class org.jaxen.DefaultNavigatororg.jaxen.UnsupportedAxisExceptionalways thrownpublic Iterator getNamespaceAxisIterator(Object o) throws org.jaxen.UnsupportedAxisException
getNamespaceAxisIterator in interface org.jaxen.NavigatorgetNamespaceAxisIterator in class org.jaxen.DefaultNavigatororg.jaxen.UnsupportedAxisExceptionpublic Iterator getParentAxisIterator(Object o) throws org.jaxen.UnsupportedAxisException
getParentAxisIterator in interface org.jaxen.NavigatorgetParentAxisIterator in class org.jaxen.DefaultNavigatororg.jaxen.UnsupportedAxisExceptionpublic Object getDocumentNode(Object o)
getDocumentNode in interface org.jaxen.NavigatorgetDocumentNode in class org.jaxen.DefaultNavigatorpublic List<ChildAssociationRef> getNode(NodeRef nodeRef, QNamePattern qNamePattern)
public Boolean contains(NodeRef childRef, QName qname, String sqlLikePattern, SearchParameters.Operator defaultOperator)
Copyright © 2005–2020 Alfresco Software. All rights reserved.