public class NodeInfoImpl extends Object implements NodeInfo
Modifier and Type | Field and Description |
---|---|
protected DocumentModel |
documentModel |
protected Node |
node |
protected boolean |
visible |
Constructor and Description |
---|
NodeInfoImpl(Node node) |
NodeInfoImpl(Node node,
DocumentModel documentModel) |
NodeInfoImpl(Node node,
DocumentModel documentModel,
boolean visible) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Node o) |
String |
getAction() |
DocumentModel |
getDocumentModel() |
String |
getHref() |
String |
getIcon() |
NodeType |
getNodeType() |
String |
getTitle() |
boolean |
isBlank() |
boolean |
isDocument() |
boolean |
isDocumentVisible() |
boolean |
isLink() |
boolean |
isLiteral() |
boolean |
isQNameResource() |
boolean |
isResource() |
boolean |
isText() |
protected DocumentModel documentModel
protected boolean visible
public NodeInfoImpl(Node node)
public NodeInfoImpl(Node node, DocumentModel documentModel)
public NodeInfoImpl(Node node, DocumentModel documentModel, boolean visible)
public NodeType getNodeType()
getNodeType
in interface Node
public boolean isQNameResource()
isQNameResource
in interface Node
public boolean isResource()
isResource
in interface Node
public int compareTo(Node o)
compareTo
in interface Comparable<Node>
public DocumentModel getDocumentModel()
getDocumentModel
in interface NodeInfo
public boolean isDocument()
isDocument
in interface NodeInfo
public boolean isDocumentVisible()
isDocumentVisible
in interface NodeInfo
Copyright © 2018 Nuxeo. All rights reserved.