org.nuxeo.theme.elements
Class AbstractElement
java.lang.Object
org.nuxeo.theme.nodes.AbstractNode
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
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 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 |
AbstractElement
public AbstractElement()
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.