public class Element extends Object implements Serializable
Element node in a DOM tree.
public Element(String name)
public String getElementName()
public void setElementName(String name)
public boolean elementNameMatches(String name)
public int numAttributes()
public boolean hasAttributes()
public boolean hasAttribute(String attributeName)
public void removeAttribute(String attributeName)
public void clearAttributes()
public Element cloneNode(INestableNode parent)
public boolean hasChildren()
hasChildren in interface INestableNodepublic int numChildren()
numChildren in interface INestableNodepublic List<INode> getChildren()
getChildren in interface INestableNodepublic <T extends INode> List<T> getChildrenOfType(Class<T> type)
getChildrenOfType in interface INestableNodepublic INode getFirstChild()
getFirstChild in interface INestableNodepublic <T extends INode> T getFirstChildOfType(Class<T> type)
getFirstChildOfType in interface INestableNodepublic void addChild(INode newChild)
addChild in interface INestableNodepublic final void insertChild(int index,
INode newChild)
insertChild in interface INestableNodepublic final void insertChildBefore(INode before, INode newChild)
insertChildBefore in interface INestableNodepublic final void insertChildAfter(INode after, INode newChild)
insertChildAfter in interface INestableNodepublic final void removeChild(INode child)
removeChild in interface INestableNodepublic final void clearChildren()
clearChildren in interface INestableNodepublic INestableNode getParent()
public void setParent(INestableNode parent)
Copyright © 2017 The ATTOPARSER team. All rights reserved.