Package ro.sync.ecss.extensions.api.node
Interface AuthorReferenceNode
-
- All Superinterfaces:
AuthorNode
,AuthorParentNode
@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface AuthorReferenceNode extends AuthorParentNode
Interface for reference nodes that have a content expanded when displayed in the Author mode.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTR_NAME_ALLOWS_VALIDATION
Allows Validation attribute namestatic java.lang.String
ATTR_NAME_CHANGE_TRACK_COUNT
Number of track changesstatic java.lang.String
ATTR_NAME_COMMENTS_COUNTS
Number of commentsstatic java.lang.String
ATTR_NAME_EDITABLE
Editable attribute namestatic java.lang.String
ATTR_NAME_TEXT_BEFORE_ROOT
Text before root.static java.lang.String
HREF
Href.static java.lang.String
OXYGEN_NAMESPACE
The Oxygen namespace.static int
REFERENCE_TYPE_ENTITY
Entities reference nodes type.static int
REFERENCE_TYPE_SYNTHETIC
Synthetic reference nodes type (e.g.-
Fields inherited from interface ro.sync.ecss.extensions.api.node.AuthorNode
NODE_NAME_CDATA, NODE_NAME_COMMENT, NODE_NAME_DOCUMENT, NODE_NAME_PI, NODE_NAME_REFERENCE, NODE_TYPE_CDATA, NODE_TYPE_COMMENT, NODE_TYPE_DOCUMENT, NODE_TYPE_ELEMENT, NODE_TYPE_PI, NODE_TYPE_PSEUDO_DOCTYPE, NODE_TYPE_PSEUDO_ELEMENT, NODE_TYPE_REFERENCE, NODE_TYPE_TEXT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getReferenceType()
Returns the type of the reference.-
Methods inherited from interface ro.sync.ecss.extensions.api.node.AuthorNode
getContentIterator, getDisplayName, getEndOffset, getName, getNamespace, getNamespaceContext, getOwnerDocument, getParent, getStartOffset, getTextContent, getType, getXMLBaseURL, isDescendentOf
-
Methods inherited from interface ro.sync.ecss.extensions.api.node.AuthorParentNode
getContentNodes, getParentElement
-
-
-
-
Field Detail
-
REFERENCE_TYPE_ENTITY
static final int REFERENCE_TYPE_ENTITY
Entities reference nodes type. The value is 0.- See Also:
- Constant Field Values
-
REFERENCE_TYPE_SYNTHETIC
static final int REFERENCE_TYPE_SYNTHETIC
Synthetic reference nodes type (e.g.XInclude
elements). The value is 1.- See Also:
- Constant Field Values
-
HREF
static final java.lang.String HREF
Href.- See Also:
- Constant Field Values
-
ATTR_NAME_CHANGE_TRACK_COUNT
static final java.lang.String ATTR_NAME_CHANGE_TRACK_COUNT
Number of track changes- See Also:
- Constant Field Values
-
ATTR_NAME_COMMENTS_COUNTS
static final java.lang.String ATTR_NAME_COMMENTS_COUNTS
Number of comments- See Also:
- Constant Field Values
-
ATTR_NAME_EDITABLE
static final java.lang.String ATTR_NAME_EDITABLE
Editable attribute name- See Also:
- Constant Field Values
-
ATTR_NAME_ALLOWS_VALIDATION
static final java.lang.String ATTR_NAME_ALLOWS_VALIDATION
Allows Validation attribute name- See Also:
- Constant Field Values
-
ATTR_NAME_TEXT_BEFORE_ROOT
static final java.lang.String ATTR_NAME_TEXT_BEFORE_ROOT
Text before root. Includes the root element.- See Also:
- Constant Field Values
-
OXYGEN_NAMESPACE
static final java.lang.String OXYGEN_NAMESPACE
The Oxygen namespace.- See Also:
- Constant Field Values
-
-
Method Detail
-
getReferenceType
int getReferenceType()
Returns the type of the reference. Used to differentiate between XML entities and other reference (e.g.XInclude
elements).- Returns:
- The type of the reference. One of the two constants:
REFERENCE_TYPE_ENTITY
,REFERENCE_TYPE_SYNTHETIC
.
-
-