Uses of Class
com.sun.lwuit.xml.Element

Packages that use Element
com.sun.lwuit.html The HTML package allows rendering XHTML-MP 1.0 documents including WCSS support. 
com.sun.lwuit.xml The XML package allows parsing XML documents into DOM objects. 
 

Uses of Element in com.sun.lwuit.html
 

Subclasses of Element in com.sun.lwuit.html
 class HTMLElement
          The HTMLElement class defines a single HTML element with its attributes and children.
 

Methods in com.sun.lwuit.html that return Element
protected  Element HTMLParser.createNewElement(java.lang.String name)
          Overrides XMLParser.createNewElement to return an HTMLElement instance
protected  Element HTMLParser.createNewTextElement(java.lang.String text)
          Overrides XMLParser.createNewTextElement to return an HTMLElement instance
 

Methods in com.sun.lwuit.html with parameters of type Element
 void HTMLElement.addChild(Element childElement)
           
protected  boolean HTMLParser.isSupported(Element element)
          Overrides the Element.isSupported to let the parser know which tags are supported in XHTML-MP 1.0
protected  void HTMLParser.parseTagContent(Element element, java.io.Reader is)
          Overrides XMLParser.parseTagContent to enable embedded CSS segments (Style tags)
protected  boolean HTMLParser.shouldEvaluate(Element element)
          Overrides the Element.shouldEvaluate method to return false on the script tag.
 

Uses of Element in com.sun.lwuit.xml
 

Methods in com.sun.lwuit.xml that return Element
protected  Element XMLParser.createNewElement(java.lang.String name)
          Creates a new element.
protected  Element XMLParser.createNewTextElement(java.lang.String text)
          Creates a new text element.
 Element Element.getChildAt(int index)
          Returns the Element's child positioned at the specified index
 Element Element.getElementById(java.lang.String id)
          Returns the element with the specified ID
 Element Element.getFirstChildByTagName(java.lang.String name)
          Returns an Element's child by a tag name
 Element Element.getParent()
          Returns this Element's parent
 Element XMLParser.parse(java.io.Reader is)
          This is the entry point for parsing a document and the only non-private member method in this class
protected  Element XMLParser.parseCommentOrXMLDeclaration(java.io.Reader is, java.lang.String endTag)
          This utility method is used to parse comments and XML declarations in the XML.
protected  Element XMLParser.parseTag(java.io.Reader is)
          This method collects the tag name and all of its attributes.
 

Methods in com.sun.lwuit.xml with parameters of type Element
 void Element.addChild(Element childElement)
          Adds the specified Element as a child to this element.
 boolean Element.contains(Element element)
          Returns true if the specified element is contained in this element's hierarchy (meaning it is one of its descendants)
 int Element.getChildIndex(Element child)
          Returns the child index
 void Element.insertChildAt(Element child, int index)
          Inserts the given child at the specified index
protected  boolean XMLParser.isSupported(Element element)
          Returns true if this element is supported, false otherwise In XMLParser this always returns true, but subclasses can determine if an element is supported in their context according to its name etc.
protected  void XMLParser.parseTagContent(Element element, java.io.Reader is)
          Parses tags content, accumulating text and child elements .
 void Element.replaceChild(Element oldChild, Element newChild)
          Replaces one child with another
protected  void Element.setParent(Element parent)
          Sets this element parent, done interanlly in addChild
protected  boolean XMLParser.shouldEvaluate(Element element)
          Checks if this element should be evaluated by the parser This can be overriden by subclasses to skip certain elements