public abstract class AbstractXmlItem extends Object implements XmlItem
Modifier and Type | Field and Description |
---|---|
protected Map<String,String> |
attributes |
protected String |
document |
protected String |
innerText |
protected Class<?> |
javaClass |
protected int |
lineno |
protected XmlItem |
parent |
protected XmlItemType |
type |
Constructor and Description |
---|
AbstractXmlItem(XmlItemType type,
XmlItem parent,
Class<?> javaClass,
String innerText,
Map<String,String> attributes,
String document,
int lineno) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(XmlItem xmlItem) |
Map<String,String> |
getAttributes() |
List<XmlItem> |
getChildren() |
<T> List<T> |
getChildrenOfType(Class<T> type) |
String |
getDocument() |
String |
getInnerText() |
Class<?> |
getJavaClass() |
int |
getLineno() |
XmlItem |
getParent() |
XmlItemType |
getType() |
boolean |
resolveChildren(javax.enterprise.inject.spi.BeanManager manager)
attempts to resolve any information that is not available at parse time
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllowedItem
protected final XmlItemType type
protected final XmlItem parent
protected final Class<?> javaClass
protected final String innerText
protected final int lineno
protected final String document
public String getInnerText()
getInnerText
in interface XmlItem
public String getDocument()
getDocument
in interface XmlItem
public List<XmlItem> getChildren()
getChildren
in interface XmlItem
public XmlItemType getType()
public Class<?> getJavaClass()
getJavaClass
in interface XmlItem
public boolean resolveChildren(javax.enterprise.inject.spi.BeanManager manager)
XmlItem
resolveChildren
in interface XmlItem
public <T> List<T> getChildrenOfType(Class<T> type)
getChildrenOfType
in interface XmlItem
Copyright © 2008-2013 Seam Framework. All Rights Reserved.