Uses of Class
org.jdom.Element

Packages that use Element
org.jdom   
org.jdom.output   
 

Uses of Element in org.jdom
 

Fields in org.jdom declared as Element
protected  Element Document.rootElement
          The root Element of the Document.
 

Methods in org.jdom that return Element
 Element Document.getRootElement()
           This will return the root Element for this Document, or null if there is none.
 Element Element.setName(java.lang.String name)
           This will set the name of the element.
 Element Element.setName(java.lang.String prefix, java.lang.String name)
           This will set the name of the element.
 Element Element.setContent(java.lang.String textContent)
           This will set the textual content of the Element.
 Element Element.setMixedContent(java.util.List mixedContent)
           This will return the content of the element.
 Element Element.setChildren(java.util.List children)
           This will set the children of this Element to the Elements within the supplied :ost.
 Element Element.getChild(java.lang.String name)
           This will return a List of all the XML elements nested directly (one level deep) within this Element whose names match the name specified, each in Element form.
 Element Element.getChild(java.lang.String prefix, java.lang.String name)
           This will return the child Elements for the specified element name on this Element.
 Element Element.addText(java.lang.String text)
           This will add test to the content of this Element.
 Element Element.addChild(Element element)
           This will add an Element as a child of this Element.
 Element Element.addChild(Entity entity)
           This will add an Entity as a child of this Element.
 Element Element.addChild(java.lang.String s)
           This will add a String as a child of this Element.
 Element Element.addChild(Comment comment)
           This will add a Comment as a child of this Element.
 Element Element.setAttributes(java.util.List attributes)
           This will set all the attributes for this Element.
 Element Element.addAttribute(Attribute attribute)
           This will add an Attribute to this Element.
 Element Element.addAttribute(java.lang.String name, java.lang.String value)
           This will add an Attribute to this Element.
 

Methods in org.jdom with parameters of type Element
 Entity Entity.addChild(Element element)
           This will add an Element as a child of this Entity.
 Document Document.setRootElement(Element rootElement)
           This sets the root Element for the Document.
 Element Element.addChild(Element element)
           This will add an Element as a child of this Element.
 boolean Element.removeChild(Element element)
           This will remove the specified Element.
 

Constructors in org.jdom with parameters of type Element
Document.Document(Element rootElement, DocType docType)
           This will create a new Document, with the supplied Element as the root element and the supplied DocType declaration.
Document.Document(Element rootElement)
           This will create a new Document, with the supplied Element as the root element, and no DocType declaration.
 

Uses of Element in org.jdom.output
 

Methods in org.jdom.output with parameters of type Element
protected  void XMLOutputter.printElement(Element element, java.io.PrintWriter out, int indentLevel)
           This will handle printing out an Element, its Attributes, and its value.
 



Copyright © 2000 Brett McLaughlin, Jason Hunter. All Rights Reserved.