Package com.microsoft.azure.maven.utils
Class PomUtils.LocationAwareElement
- java.lang.Object
-
- org.dom4j.tree.AbstractNode
-
- org.dom4j.tree.AbstractBranch
-
- org.dom4j.tree.AbstractElement
-
- org.dom4j.tree.DefaultElement
-
- com.microsoft.azure.maven.utils.PomUtils.LocationAwareElement
-
- All Implemented Interfaces:
Serializable,Cloneable,org.dom4j.Branch,org.dom4j.Element,org.dom4j.Node
- Enclosing class:
- PomUtils
public static class PomUtils.LocationAwareElement extends org.dom4j.tree.DefaultElementAn Element that is aware of it location (line number in) in the source document- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private intcolumnNumberprivate intlineNumberprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description LocationAwareElement(String name)LocationAwareElement(String name, org.dom4j.Namespace namespace)LocationAwareElement(org.dom4j.QName qname)LocationAwareElement(org.dom4j.QName qname, int attributeCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumnNumber()intgetLineNumber()voidsetColumnNumber(int columnNumber)voidsetLineNumber(int lineNumber)-
Methods inherited from class org.dom4j.tree.DefaultElement
add, additionalNamespaces, additionalNamespaces, addNewNode, attribute, attribute, attribute, attribute, attributeCount, attributeIterator, attributeList, attributeList, attributes, clearContent, clone, contentList, declaredNamespaces, element, element, element, getDocument, getDocumentFactory, getNamespaceForPrefix, getNamespaceForURI, getParent, getQName, getStringValue, getText, indexOf, node, nodeCount, nodeIterator, processingInstruction, processingInstructions, processingInstructions, remove, removeNode, removeProcessingInstruction, setAttributeList, setAttributes, setContent, setDocument, setParent, setQName, supportsParent
-
Methods inherited from class org.dom4j.tree.AbstractElement
accept, add, add, add, add, add, add, add, add, addAttribute, addAttribute, addCDATA, addComment, addElement, addEntity, addNamespace, addNewNode, addNode, addNode, addProcessingInstruction, addProcessingInstruction, addText, appendAttributes, asXML, attributeValue, attributeValue, attributeValue, attributeValue, childAdded, childRemoved, createAttributeList, createAttributeList, createCopy, createCopy, createCopy, createElement, createElement, createSingleIterator, elementIterator, elementIterator, elementIterator, elementIterator, elements, elements, elements, elements, elementText, elementText, elementTextTrim, elementTextTrim, ensureAttributesCapacity, getData, getName, getNamespace, getNamespacePrefix, getNamespacesForURI, getNamespaceURI, getNodeType, getPath, getQName, getQualifiedName, getUniquePath, getXPathNameStep, getXPathResult, hasMixedContent, isRootElement, isTextOnly, normalize, remove, remove, remove, remove, remove, remove, remove, remove, setAttributes, setAttributeValue, setAttributeValue, setData, setName, setNamespace, setText, toString, write
-
Methods inherited from class org.dom4j.tree.AbstractBranch
addElement, addElement, addElement, appendContent, content, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, elementID, getContentAsStringValue, getContentAsText, getTextTrim, hasContent, invalidNodeTypeAddException, isReadOnly, setProcessingInstructions
-
Methods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getNodeTypeName, getPath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
lineNumber
private int lineNumber
-
columnNumber
private int columnNumber
-
-
Constructor Detail
-
LocationAwareElement
public LocationAwareElement(org.dom4j.QName qname)
-
LocationAwareElement
public LocationAwareElement(org.dom4j.QName qname, int attributeCount)
-
LocationAwareElement
public LocationAwareElement(String name, org.dom4j.Namespace namespace)
-
LocationAwareElement
public LocationAwareElement(String name)
-
-
Method Detail
-
getLineNumber
public int getLineNumber()
- Returns:
- the lineNumber
-
setLineNumber
public void setLineNumber(int lineNumber)
- Parameters:
lineNumber- the lineNumber to set
-
getColumnNumber
public int getColumnNumber()
- Returns:
- the columnNumber
-
setColumnNumber
public void setColumnNumber(int columnNumber)
- Parameters:
columnNumber- the columnNumber to set
-
-