com.googlecode.jpattern.core.xml
Class XmlElement
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlElement
public XmlElement()
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.