Liferay 6.2-ce-ga5

com.liferay.util.xml.descriptor
Class SimpleXMLDescriptor

java.lang.Object
  extended by com.liferay.util.xml.descriptor.SimpleXMLDescriptor
All Implemented Interfaces:
XMLDescriptor
Direct Known Subclasses:
PortletAppDescriptor, StrutsConfigDescriptor, TilesDefsDescriptor, WebXML23Descriptor, WebXML24Descriptor

public abstract class SimpleXMLDescriptor
extends Object
implements XMLDescriptor


Constructor Summary
SimpleXMLDescriptor()
           
 
Method Summary
 boolean areEqual(org.dom4j.Element el1, org.dom4j.Element el2)
           
abstract  boolean canHandleType(String doctype, org.dom4j.Document root)
           
 boolean canJoinChildren(org.dom4j.Element element)
           
 String[] getChildrenOrder(org.dom4j.Element parentElement)
           
 ElementIdentifier[] getElementsIdentifiedByAttribute()
           
 ElementIdentifier[] getElementsIdentifiedByChild()
           
 String[] getJoinableElements()
           
 String[] getRootChildrenOrder()
           
 String[] getUniqueElements()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleXMLDescriptor

public SimpleXMLDescriptor()
Method Detail

areEqual

public boolean areEqual(org.dom4j.Element el1,
                        org.dom4j.Element el2)
Specified by:
areEqual in interface XMLDescriptor

canHandleType

public abstract boolean canHandleType(String doctype,
                                      org.dom4j.Document root)
Specified by:
canHandleType in interface XMLDescriptor

canJoinChildren

public boolean canJoinChildren(org.dom4j.Element element)
Specified by:
canJoinChildren in interface XMLDescriptor

getChildrenOrder

public String[] getChildrenOrder(org.dom4j.Element parentElement)
Specified by:
getChildrenOrder in interface XMLDescriptor

getElementsIdentifiedByAttribute

public ElementIdentifier[] getElementsIdentifiedByAttribute()

getElementsIdentifiedByChild

public ElementIdentifier[] getElementsIdentifiedByChild()

getJoinableElements

public String[] getJoinableElements()

getRootChildrenOrder

public String[] getRootChildrenOrder()
Specified by:
getRootChildrenOrder in interface XMLDescriptor

getUniqueElements

public String[] getUniqueElements()

Liferay 6.2-ce-ga5