public class BaseElem extends XMLFragment
XMLFragment.NodeNameIterator<T extends XMLFragment>, XMLFragment.NodeTypeIterator<T extends XMLFragment>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
alignLocal
The Constant alignLocal.
|
static java.lang.String |
classLocal
The Constant classLocal.
|
static javax.xml.namespace.QName |
qnXHTMLalign
The Constant qnXHTMLalign.
|
static javax.xml.namespace.QName |
qnXHTMLclass
The Constant qnXHTMLclass.
|
static javax.xml.namespace.QName |
qnXHTMLstyle
The Constant qnXHTMLstyle.
|
static javax.xml.namespace.QName |
qnXHTMLtitle
The Constant qnXHTMLtitle.
|
static java.lang.String |
styleLocal
The Constant styleLocal.
|
static java.lang.String |
titleLocal
The Constant titleLocal.
|
ADD_NAMESPACE_INHERIT, baseQName, CONCEPT_LABEL, CONCEPT_QNAME, EASY_TO_READ, ELEMENT_LABEL, EMPTYRELATIONSHIPSITERATORINSTANCE, EMPTYXMLFRAGMENTITERATORINSTANCE, FACT_CONCEPT_DATATYPE, FACT_CONCEPT_LABEL, FACT_QNAME, FACT_VALUE, HIDE_COMMON_ACCURACY, idQName, langQName, nil, NO_POSITION, OrderComparator, OrderComparator2, OrderComparatorReverse, PERIOD_BOP, PERIOD_TYPE, PERIOD_VALUE, RELATIONSHIP_TYPE, RESOURCE_TYPE, SHORT_TEXT, SOURCE_DOCUMENT, XPATH, XPOINTER
Modifier and Type | Method and Description |
---|---|
void |
addClass(java.lang.String className)
Adds the class.
|
void |
addElem(BaseElem elem)
Adds the elem.
|
void |
addElemAt(BaseElem elem,
int pos)
Adds the elem at.
|
void |
addHTMLText(java.lang.String htmlContent,
boolean bValidate)
Adds the HTML text.
|
void |
addText(java.lang.String text)
Adds the text.
|
void |
delAllElems()
Del all elems.
|
void |
delElem(BaseElem elem)
Del elem.
|
java.lang.String |
getAttribute(java.lang.String attrName)
Gets the attribute.
|
java.lang.String |
getAttributeClass()
Gets the attribute class.
|
net.sf.saxon.tree.linked.NodeImpl |
getFirstChild() |
net.sf.saxon.tree.linked.NodeImpl |
getLastChild() |
int |
getNumberOfChildren() |
int |
getNumberOfElems()
Gets the number of elems.
|
java.lang.String |
getText()
Gets the text.
|
boolean |
hasChildNodes() |
void |
setAttribute(javax.xml.namespace.QName attrName,
net.sf.saxon.value.QNameValue value)
Sets the attribute.
|
void |
setAttribute(javax.xml.namespace.QName attrName,
java.lang.String value)
Sets the attribute.
|
void |
setAttribute(java.lang.String attrName,
java.lang.String value)
Sets the attribute.
|
void |
setAttributeAlign(java.lang.String align)
Sets the attribute align.
|
void |
setAttributeClass(java.lang.String className)
Sets the attribute class.
|
void |
setAttributeId(java.lang.String id)
Sets the attribute id.
|
void |
setAttributeLang(java.lang.String lang)
Sets the attribute lang.
|
void |
setAttributeStyle(java.lang.String styleAttr)
Sets the attribute style.
|
void |
setAttributeTitle(java.lang.String title)
Sets the attribute title.
|
void |
setQName(javax.xml.namespace.QName qname)
Sets the q name.
|
void |
setText(java.lang.String text)
Sets the text.
|
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addChild, addChildArray, addChildAt, addChildNode, addChildNodeArray, addChildNodeAt, addChildNodeInBatch, addComment, addFromRelationship, addNamespace, addNamespace, addPropertyChangeListener, addToRelationship, changeBase, checkBase, childExists, clear, clone, clone, commitBatch, copy, createComment, delAttribute, delAttribute, delete, equals, equalXdmValues, findFirstNodeOfClass, findPosition, firePropertyChangeEvent, generateId, generateLocatorToNode, generateNode, generatePrefix, getAllAttributes, getAttribute, getAttributeAtomicValue, getAttributeBooleanValue, getAttributeGroundedValue, getAttributeQNameValue, getAttributes, getAttributeValue, getBase, getBase, getBooleanValue, getChildren, getChildStringValue, getConfiguration, getContainer, getContainerDocumentURI, getDocument, getElement, getElement, getElements, getFirstChildNoComment, getFragment, getFriendlyName, getFriendlyName, getFriendlyName, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getId, getInScopeNamespaces, getLang, getLastChildNoComment, getNamePool, getNamespaceBinding, getNamespaceURI, getNextSiblingNoComment, getNodeName, getNthElement, getNumberOfElements, getNumberOfFromRelationships, getNumberOfToRelationships, getOrGenerateId, getParentDocument, getParentXBRL, getPrefix, getPrefixes, getPropertyChangeListeners, getQNameValue, getRelationshipsBases, getRelationshipsChain, getRelationshipTypes, getStaticNamespace, getStringValue, getToolTipText, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getValue, getXPath, getXPathFromXPointer, getXPathNamespaceContext, getXPathToRoot, getXPointerElementScheme, getXPointerElementScheme, getXPointerShorthandScheme, getXPointerXPath2Scheme, hashCode, initialise, internalToString, isAttribute, isChangeHashEnabled, isDead, isEmpty, isHashDependsOnAtribute, isNamespaceDefined, isNil, moveNamespacesUp, objEquals, objHashCode, reindex, removeChild, removeChildNode, removeFromRelationship, removeNamespace, removePropertyChangeListener, removeToRelationship, replace, replaceChild, replaceStringValue, resetElements, resolveHRef, s_equal2_xp2, s_equal2_xp2, s_equal2, s_equal2, s_equal2, s_equal2, setAttributeList, setAttributes, setBase, setChildrenClone, setDirty, setElements, setId, setLang, setModified, setNamespaceDeclarations, setNamespaces, setNil, setNodeName, setRawParentXBRL, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, valueEquals, xEqual
addAttribute, addNamespace, generateId, getAttributeList, getAttributeValue, getAttributeValue, getBaseURI, getColumnNumber, getDeclaredNamespaces, getDocumentRoot, getLineNumber, getNameCode, getNamespaceList, getNodeKind, getRoot, getSchemaType, getSystemId, getTypeAnnotation, getURIForPrefix, gsetAttributeCollection, isId, isInScopeNamespace, isNilled, iteratePrefixes, removeAttribute, removeTypeAnnotation, rename, setLocation, setNameCode, setNamespaceList, setSystemId, setTypeAnnotation
atomize, compareOrder, comparePosition, getDisplayName, getDocumentNumber, getFingerprint, getLocalPart, getNextInDocument, getNextSibling, getParent, getPhysicalRoot, getPrefix, getPreviousInDocument, getPreviousSibling, getPublicId, getSiblingPosition, getSuccessorElement, getURI, head, insertSiblings, isDeleted, isIdref, isSameNodeInfo, iterate, iterateAxis, iterateAxis, newBuilder, replace
public static final java.lang.String styleLocal
public static final java.lang.String classLocal
public static final java.lang.String alignLocal
public static final java.lang.String titleLocal
public static final javax.xml.namespace.QName qnXHTMLstyle
public static final javax.xml.namespace.QName qnXHTMLclass
public static final javax.xml.namespace.QName qnXHTMLalign
public static final javax.xml.namespace.QName qnXHTMLtitle
public void addElem(BaseElem elem)
elem
- the elempublic void addElemAt(BaseElem elem, int pos)
elem
- the elempos
- the pospublic void addHTMLText(java.lang.String htmlContent, boolean bValidate)
htmlContent
- the html contentbValidate
- the b validatepublic void addText(java.lang.String text)
text
- the textpublic void delAllElems()
public void delElem(BaseElem elem)
elem
- the elempublic java.lang.String getAttribute(java.lang.String attrName)
attrName
- the attr namepublic java.lang.String getAttributeClass()
public int getNumberOfElems()
public java.lang.String getText()
public void setAttributeAlign(java.lang.String align)
align
- the new attribute alignpublic void setAttribute(java.lang.String attrName, java.lang.String value)
attrName
- the attr namevalue
- the valuepublic void setAttribute(javax.xml.namespace.QName attrName, java.lang.String value)
attrName
- the attr namevalue
- the valuepublic void setAttribute(javax.xml.namespace.QName attrName, net.sf.saxon.value.QNameValue value)
attrName
- the attr namevalue
- the valuepublic void setAttributeClass(java.lang.String className)
className
- the new attribute classpublic void addClass(java.lang.String className)
className
- the class namepublic void setAttributeId(java.lang.String id)
id
- the new attribute idpublic void setAttributeLang(java.lang.String lang)
lang
- the new attribute langpublic void setAttributeStyle(java.lang.String styleAttr)
styleAttr
- the new attribute stylepublic void setText(java.lang.String text)
text
- the new textpublic void setQName(javax.xml.namespace.QName qname)
qname
- the new q namepublic void setAttributeTitle(java.lang.String title)
title
- the new attribute titlepublic final boolean hasChildNodes()
hasChildNodes
in interface net.sf.saxon.om.NodeInfo
hasChildNodes
in class net.sf.saxon.tree.linked.NodeImpl
public final int getNumberOfChildren()
public final net.sf.saxon.tree.linked.NodeImpl getFirstChild()
getFirstChild
in interface net.sf.saxon.tree.util.SteppingNode<net.sf.saxon.tree.linked.NodeImpl>
getFirstChild
in class net.sf.saxon.tree.linked.NodeImpl
public final net.sf.saxon.tree.linked.NodeImpl getLastChild()
getLastChild
in class net.sf.saxon.tree.linked.NodeImpl
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa