org.jboss.seam.config.xml.model
Class AbstractXmlItem
java.lang.Object
org.jboss.seam.config.xml.model.AbstractXmlItem
- All Implemented Interfaces:
- XmlItem
- Direct Known Subclasses:
- AbstractValueXmlItem, AnnotationXmlItem, ClassXmlItem, EntryXmlItem, MethodXmlItem, ModifiesXmlItem, ParametersXmlItem, ParameterXmlItem, PropertyXmlItem, ReplacesXmlItem
public abstract class AbstractXmlItem
- extends Object
- implements XmlItem
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
protected final XmlItemType type
parent
protected final XmlItem parent
javaClass
protected final Class<?> javaClass
innerText
protected final String innerText
attributes
protected final Map<String,String> attributes
lineno
protected final int lineno
document
protected final String document
AbstractXmlItem
public AbstractXmlItem(XmlItemType type,
XmlItem parent,
Class<?> javaClass,
String innerText,
Map<String,String> attributes,
String document,
int lineno)
getInnerText
public String getInnerText()
- Specified by:
getInnerText
in interface XmlItem
getLineno
public int getLineno()
- Specified by:
getLineno
in interface XmlItem
getDocument
public String getDocument()
- Specified by:
getDocument
in interface XmlItem
addChild
public void addChild(XmlItem xmlItem)
- Specified by:
addChild
in interface XmlItem
getParent
public XmlItem getParent()
- Specified by:
getParent
in interface XmlItem
getChildren
public List<XmlItem> getChildren()
- Specified by:
getChildren
in interface XmlItem
getType
public XmlItemType getType()
- Specified by:
getType
in interface XmlItem
getJavaClass
public Class<?> getJavaClass()
- Specified by:
getJavaClass
in interface XmlItem
resolveChildren
public boolean resolveChildren(BeanManager manager)
- Description copied from interface:
XmlItem
- attempts to resolve any information that is not available at parse time
- Specified by:
resolveChildren
in interface XmlItem
- Returns:
getAttributes
public Map<String,String> getAttributes()
getChildrenOfType
public <T> List<T> getChildrenOfType(Class<T> type)
- Specified by:
getChildrenOfType
in interface XmlItem
Copyright © 2011 Seam Framework. All Rights Reserved.