info.magnolia.templating.editor.client.dom
Class MgnlElement

java.lang.Object
  extended by info.magnolia.templating.editor.client.dom.MgnlElement

public class MgnlElement
extends Object

MgnlElement Constructor.


Constructor Summary
MgnlElement(CMSComment comment, MgnlElement parent)
           
 
Method Summary
 boolean containsAttribute(String key)
           
 void delete()
           
 com.google.gwt.dom.client.Element getAreaElement()
           
 List<MgnlElement> getAreas()
           
 List<MgnlElement> getAscendants()
           
 String getAttribute(String key)
           
 Map<String,String> getAttributes()
           
 LinkedList<MgnlElement> getChildren()
           
 CMSComment getComment()
          Deprecated. 
 com.google.gwt.dom.client.Element getComponentElement()
           
 List<MgnlElement> getComponents()
           
 List<MgnlElement> getDescendants()
           
 com.google.gwt.dom.client.Element getEditElement()
           
 CMSComment getEndComment()
           
 com.google.gwt.dom.client.Element getFirstElement()
           
 com.google.gwt.dom.client.Element getLastElement()
           
 MgnlElement getParent()
           
 MgnlElement getParentArea()
           
 MgnlElement getRoot()
           
 MgnlElement getRootArea()
           
 boolean isArea()
           
 boolean isComponent()
           
 boolean isMgnlElement(String tagName)
           
 boolean isRelated(MgnlElement relative)
           
 void setAreaElement(com.google.gwt.dom.client.Element areaElement)
           
 void setComponentElement(com.google.gwt.dom.client.Element componentElement)
           
 void setEditElement(com.google.gwt.dom.client.Element editElement)
           
 void setEndComment(CMSComment endComment)
           
 void setFirstElement(com.google.gwt.dom.client.Element firstElement)
           
 void setLastElement(com.google.gwt.dom.client.Element lastElement)
           
 void setParent(MgnlElement parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MgnlElement

public MgnlElement(CMSComment comment,
                   MgnlElement parent)
            throws IllegalArgumentException
Throws:
IllegalArgumentException - if comments tagname is not a defined marker.
Method Detail

isMgnlElement

public boolean isMgnlElement(String tagName)

isArea

public boolean isArea()

isComponent

public boolean isComponent()

getParent

public MgnlElement getParent()

setParent

public void setParent(MgnlElement parent)

getChildren

public LinkedList<MgnlElement> getChildren()

getDescendants

public List<MgnlElement> getDescendants()

getAscendants

public List<MgnlElement> getAscendants()

getRootArea

public MgnlElement getRootArea()

getParentArea

public MgnlElement getParentArea()

getComment

@Deprecated
public CMSComment getComment()
Deprecated. 


getComponents

public List<MgnlElement> getComponents()

getAreas

public List<MgnlElement> getAreas()

getRoot

public MgnlElement getRoot()

isRelated

public boolean isRelated(MgnlElement relative)

delete

public void delete()

getFirstElement

public com.google.gwt.dom.client.Element getFirstElement()

setFirstElement

public void setFirstElement(com.google.gwt.dom.client.Element firstElement)

getLastElement

public com.google.gwt.dom.client.Element getLastElement()

setLastElement

public void setLastElement(com.google.gwt.dom.client.Element lastElement)

setComponentElement

public void setComponentElement(com.google.gwt.dom.client.Element componentElement)

setAreaElement

public void setAreaElement(com.google.gwt.dom.client.Element areaElement)

setEditElement

public void setEditElement(com.google.gwt.dom.client.Element editElement)

getComponentElement

public com.google.gwt.dom.client.Element getComponentElement()

getAreaElement

public com.google.gwt.dom.client.Element getAreaElement()

getEditElement

public com.google.gwt.dom.client.Element getEditElement()

setEndComment

public void setEndComment(CMSComment endComment)

getEndComment

public CMSComment getEndComment()

getAttribute

public String getAttribute(String key)

containsAttribute

public boolean containsAttribute(String key)

getAttributes

public Map<String,String> getAttributes()


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.