Nuxeo Enterprise Platform 5.4

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
 java.lang.String computeXPath()
           
 java.util.List<Node> getChildrenInContext(java.net.URL themeURL)
           
 java.lang.String getDescription()
           
 ElementType getElementType()
           
 java.lang.String getName()
           
 NodeTypeFamily getNodeTypeFamily()
           
 java.lang.Integer getUid()
           
 java.lang.String hash()
           
 boolean isEmpty()
           
 void setDescription(java.lang.String description)
           
 void setElementType(ElementType elementType)
           
 void setName(java.lang.String name)
           
 void setUid(java.lang.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 java.lang.Integer getUid()
Specified by:
getUid in interface Identifiable

setUid

public void setUid(java.lang.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 java.lang.String hash()
Specified by:
hash in interface Relate

getChildrenInContext

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

getName

public java.lang.String getName()
Specified by:
getName in interface Identifiable

setName

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

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface Element

setDescription

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

isEmpty

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

computeXPath

public java.lang.String computeXPath()
Specified by:
computeXPath in interface Element

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.