org.attoparser.markup.dom
Interface IAttributeContainerNode

All Superinterfaces:
INode
All Known Subinterfaces:
IElement
All Known Implementing Classes:
Element

public interface IAttributeContainerNode
extends INode

Common interface for all nodes in attoDOM trees that can serve as attribute containers.

Since:
1.1
Author:
Daniel Fernández

Method Summary
 void addAttribute(String name, String value)
           
 void addAttributes(Map<String,String> newAttributes)
           
 void clearAttributes()
           
 Map<String,String> getAttributeMap()
           
 String getAttributeValue(String name)
           
 boolean hasAttribute(String name)
           
 boolean hasAttributes()
           
 int numAttributes()
           
 void removeAttribute(String attributeName)
           
 
Methods inherited from interface org.attoparser.markup.dom.INode
cloneNode, getCol, getLine, getParent, hasCol, hasLine, hasParent, setCol, setLine, setParent
 

Method Detail

numAttributes

int numAttributes()

hasAttributes

boolean hasAttributes()

hasAttribute

boolean hasAttribute(String name)

getAttributeValue

String getAttributeValue(String name)

getAttributeMap

Map<String,String> getAttributeMap()

addAttribute

void addAttribute(String name,
                  String value)

addAttributes

void addAttributes(Map<String,String> newAttributes)

removeAttribute

void removeAttribute(String attributeName)

clearAttributes

void clearAttributes()


Copyright © 2013 The ATTOPARSER team. All Rights Reserved.