@Component(value="cuba_XmlInheritanceProcessor")
@Scope(value="prototype")
public class XmlInheritanceProcessor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
XmlInheritanceProcessor.ButtonElementTargetLocator |
protected static class |
XmlInheritanceProcessor.CommonElementTargetLocator |
protected static interface |
XmlInheritanceProcessor.ElementTargetLocator |
protected static class |
XmlInheritanceProcessor.ViewElementTargetLocator |
protected static class |
XmlInheritanceProcessor.ViewPropertyElementTargetLocator |
Modifier and Type | Field and Description |
---|---|
protected BeanLocator |
beanLocator |
static java.lang.String |
NAME |
protected Resources |
resources |
protected ScreenXmlParser |
screenXmlParser |
Constructor and Description |
---|
XmlInheritanceProcessor(org.dom4j.Document document,
java.util.Map<java.lang.String,java.lang.Object> params) |
Modifier and Type | Method and Description |
---|---|
protected void |
addNewElement(org.dom4j.Element resultElem,
org.dom4j.Element element,
java.util.Set<org.dom4j.Element> justAdded) |
protected java.io.InputStream |
getAncestorStream(java.lang.String ancestorTemplate) |
org.dom4j.Element |
getResultRoot() |
protected void |
process(org.dom4j.Element resultElem,
org.dom4j.Element extElem) |
public static final java.lang.String NAME
@Inject protected Resources resources
@Inject protected ScreenXmlParser screenXmlParser
@Inject protected BeanLocator beanLocator
public XmlInheritanceProcessor(org.dom4j.Document document, java.util.Map<java.lang.String,java.lang.Object> params)
public org.dom4j.Element getResultRoot()
protected java.io.InputStream getAncestorStream(java.lang.String ancestorTemplate)
protected void process(org.dom4j.Element resultElem, org.dom4j.Element extElem)
protected void addNewElement(org.dom4j.Element resultElem, org.dom4j.Element element, java.util.Set<org.dom4j.Element> justAdded)