public class LocatedElement extends Element implements Located
Content.CType| Constructor and Description |
|---|
LocatedElement(java.lang.String name)
Create a new element with the supplied (local) name and no namespace.
|
LocatedElement(java.lang.String name,
Namespace namespace)
Creates a new element with the supplied (local) name and namespace.
|
LocatedElement(java.lang.String name,
java.lang.String uri)
Creates a new element with the supplied (local) name and a namespace
given by a URI.
|
LocatedElement(java.lang.String name,
java.lang.String prefix,
java.lang.String uri)
Creates a new element with the supplied (local) name and a namespace
given by the supplied prefix and URI combination.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumn()
Get the column (character on the line).
|
int |
getLine()
Get the line number
|
void |
setColumn(int col)
Set the column (character on the line).
|
void |
setLine(int line)
Set the line number
|
addContent, addContent, addContent, addContent, addContent, addNamespaceDeclaration, canContainContent, clone, cloneContent, coalesceText, detach, getAdditionalNamespaces, getAttribute, getAttribute, getAttributes, getAttributesSize, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValue, getChild, getChild, getChildren, getChildren, getChildren, getChildText, getChildText, getChildTextNormalize, getChildTextNormalize, getChildTextTrim, getChildTextTrim, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getName, getNamespace, getNamespace, getNamespacePrefix, getNamespacesInherited, getNamespacesInScope, getNamespacesIntroduced, getNamespaceURI, getQualifiedName, getText, getTextNormalize, getTextTrim, getValue, getXMLBaseURI, hasAdditionalNamespaces, hasAttributes, indexOf, isAncestor, isRootElement, removeAttribute, removeAttribute, removeAttribute, removeChild, removeChild, removeChildren, removeChildren, removeContent, removeContent, removeContent, removeContent, removeNamespaceDeclaration, setAttribute, setAttribute, setAttribute, setAttributes, setContent, setContent, setContent, setContent, setName, setNamespace, setText, sortAttributes, sortChildren, sortContent, sortContent, toStringequals, getCType, getDocument, getParent, getParentElement, hashCode, setParentfinalize, getClass, notify, notifyAll, wait, wait, waitgetDocument, getParentpublic LocatedElement(java.lang.String name,
Namespace namespace)
name - local name of the elementnamespace - namespace for the elementIllegalNameException - if the given name is illegal as an element
namepublic LocatedElement(java.lang.String name)
name - local name of the elementIllegalNameException - if the given name is illegal as an element
name.public LocatedElement(java.lang.String name,
java.lang.String uri)
name - name of the elementuri - namespace URI for the elementIllegalNameException - if the given name is illegal as an element
name or the given URI is illegal as a
namespace URIpublic LocatedElement(java.lang.String name,
java.lang.String prefix,
java.lang.String uri)
name - local name of the elementprefix - namespace prefixuri - namespace URI for the elementIllegalNameException - if the given name is illegal as an element
name, the given prefix is illegal as a
namespace prefix, or the given URI is
illegal as a namespace URIpublic int getLine()
Locatedpublic int getColumn()
Locatedpublic void setLine(int line)
LocatedCopyright © 2021 Jason Hunter, Brett McLaughlin. All Rights Reserved.