Copyright© 2008-2022 Sitevision AB, all rights reserved.
public interface XmlElement
XmlElementHandler
Modifier and Type | Method and Description |
---|---|
String |
getAttribute(String aName)
Gets an attribute value of the element.
|
XmlElement |
getElement(String aName)
Gets the first sub element with a specific name of the element.
|
Collection<XmlElement> |
getElements()
Gets all sub elements of the element.
|
Collection<XmlElement> |
getElements(String aName)
Gets all sub element with a specific name of the element.
|
String |
getName()
Gets the name of the element
|
String |
getText()
Gets the text content of the element.
|
boolean |
hasElement(String aName)
Check if a sub element with a specific name is available in the element.
|
String getName()
String getText()
String getAttribute(String aName)
aName
- the attribute nameboolean hasElement(String aName)
aName
- name of the sub element of this element, must be non-null.XmlElement getElement(String aName)
aName
- name of the sub element of this element, must be non-null.Collection<XmlElement> getElements(String aName)
aName
- name of the sub element of this element, must be non-null.Collection<XmlElement> getElements()
Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.