org.eclipse.mylyn.internal.wikitext.core.util.css
Interface ElementInfo


public interface ElementInfo

An interface to XML element information

Author:
David Green

Method Summary
 String getLocalName()
          get the local name of the element
 ElementInfo getParent()
          get the parent of this element
 boolean hasCssClass(String cssClass)
          indicate if the elemet has the given CSS class
 boolean hasId(String id)
          indicate if the element has the given id
 

Method Detail

getLocalName

String getLocalName()
get the local name of the element


getParent

ElementInfo getParent()
get the parent of this element

Returns:
the parent or null if this is the root element

hasCssClass

boolean hasCssClass(String cssClass)
indicate if the elemet has the given CSS class


hasId

boolean hasId(String id)
indicate if the element has the given id



Copyright © 2011 FuseSource, Corp.. All Rights Reserved.