com.googlecode.jpattern.core.xml
Class XmlElement

java.lang.Object
  extended by com.googlecode.jpattern.core.xml.XmlElement
All Implemented Interfaces:
IXmlElement, Serializable

public class XmlElement
extends Object
implements IXmlElement

Author:
Francesco Cina' 16/giu/2010
See Also:
Serialized Form

Constructor Summary
XmlElement()
           
 
Method Summary
 IXmlAttribute addAttribute()
           
 IXmlElement addSubElement()
           
 IXmlAttribute getAttribute(String name)
           
 List<String> getAttributesName()
           
 String getName()
           
 IXmlElement getSubElement(String name)
           
 List<IXmlElement> getSubElements(String name)
           
 List<String> getSubElementsName()
           
 String getValue()
           
 void setName(String name)
           
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlElement

public XmlElement()
Method Detail

getName

public String getName()
Specified by:
getName in interface IXmlElement

setName

public void setName(String name)
Specified by:
setName in interface IXmlElement

getValue

public String getValue()
Specified by:
getValue in interface IXmlElement

setValue

public void setValue(String value)
Specified by:
setValue in interface IXmlElement

getSubElementsName

public List<String> getSubElementsName()
Specified by:
getSubElementsName in interface IXmlElement

getSubElement

public IXmlElement getSubElement(String name)
Specified by:
getSubElement in interface IXmlElement

getSubElements

public List<IXmlElement> getSubElements(String name)
Specified by:
getSubElements in interface IXmlElement

addSubElement

public IXmlElement addSubElement()
Specified by:
addSubElement in interface IXmlElement

getAttributesName

public List<String> getAttributesName()
Specified by:
getAttributesName in interface IXmlElement

getAttribute

public IXmlAttribute getAttribute(String name)
Specified by:
getAttribute in interface IXmlElement

addAttribute

public IXmlAttribute addAttribute()
Specified by:
addAttribute in interface IXmlElement


Copyright © 2011. All Rights Reserved.