Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.theme.elements
Class AbstractElement

java.lang.Object
  extended by org.nuxeo.theme.nodes.AbstractNode
      extended by org.nuxeo.theme.elements.AbstractElement
All Implemented Interfaces:
Element, Node, Relate, Identifiable
Direct Known Subclasses:
AbstractFragment, CellElement, PageElement, SectionElement, ThemeElement

public abstract class AbstractElement
extends AbstractNode
implements Element


Constructor Summary
AbstractElement()
           
 
Method Summary
 String computeXPath()
           
 List<Node> getChildrenInContext(URL themeURL)
           
 String getCssClassName()
           
 String getDescription()
           
 ElementType getElementType()
           
 String getName()
           
 NodeTypeFamily getNodeTypeFamily()
           
 Integer getUid()
           
 String hash()
           
 boolean isEmpty()
           
 void setCssClassName(String cssClassName)
           
 void setDescription(String description)
           
 void setElementType(ElementType elementType)
           
 void setName(String name)
           
 void setUid(Integer uid)
           
 
Methods inherited from class org.nuxeo.theme.nodes.AbstractNode
addChild, clearParent, collectDescendants, getChildren, getDescendants, getNextNode, getOrder, getParent, getPreviousNode, hasChildren, hasSiblings, insertAfter, isChildOf, isLeaf, moveTo, removeChild, removeDescendants, setChildren, setOrder, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.theme.nodes.Node
addChild, clearParent, collectDescendants, getChildren, getDescendants, getNextNode, getOrder, getParent, getPreviousNode, hasChildren, hasSiblings, insertAfter, isChildOf, isLeaf, moveTo, removeChild, removeDescendants, setChildren, setOrder, setParent
 

Constructor Detail

AbstractElement

public AbstractElement()
Method Detail

getUid

public Integer getUid()
Specified by:
getUid in interface Identifiable

setUid

public void setUid(Integer uid)
Specified by:
setUid in interface Identifiable

getElementType

public ElementType getElementType()
Specified by:
getElementType in interface Element

setElementType

public void setElementType(ElementType elementType)
Specified by:
setElementType in interface Element

getNodeTypeFamily

public NodeTypeFamily getNodeTypeFamily()
Specified by:
getNodeTypeFamily in interface Node
Specified by:
getNodeTypeFamily in class AbstractNode

hash

public String hash()
Specified by:
hash in interface Relate

getChildrenInContext

public List<Node> getChildrenInContext(URL themeURL)
Specified by:
getChildrenInContext in interface Element

getName

public String getName()
Specified by:
getName in interface Identifiable

setName

public void setName(String name)
Specified by:
setName in interface Identifiable

getDescription

public String getDescription()
Specified by:
getDescription in interface Element

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface Element

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Element

getCssClassName

public String getCssClassName()
Specified by:
getCssClassName in interface Element

setCssClassName

public void setCssClassName(String cssClassName)
Specified by:
setCssClassName in interface Element

computeXPath

public String computeXPath()
Specified by:
computeXPath in interface Element

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.