Uses of Class
org.jdom.Element

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

Uses of Element in org.jdom
 

Methods in org.jdom that return Element
 Element Element.addContent(CDATA cdata)
           This adds a CDATA section as content to this element.
 Element Element.addContent(Comment comment)
           This adds a comment as content to this element.
 Element Element.addContent(Element element)
           This adds element content to this element.
 Element Element.addContent(EntityRef entity)
           This adds entity content to this element.
 Element Element.addContent(ProcessingInstruction pi)
           This adds a processing instruction as content to this element.
 Element Element.addContent(java.lang.String str)
           This adds text content to this element.
 Element Element.addContent(Text text)
           This adds text content to this element.
 Element Element.detach()
           This detaches the element from its parent, or does nothing if the element has no parent.
 Element Document.detachRootElement()
           Detach the root Element from this document.
 Element Element.getChild(java.lang.String name)
           This returns the first child element within this element with the given local name and belonging to no namespace.
 Element Element.getChild(java.lang.String name, Namespace ns)
           This returns the first child element within this element with the given local name and belonging to the given namespace.
 Element ProcessingInstruction.getParent()
           This will return the parent of this ProcessingInstruction.
 Element Text.getParent()
          This will return the parent of this Text node, which is always a JDOM Element.
 Element Element.getParent()
           This will return the parent of this Element.
 Element Comment.getParent()
           This will return the parent of this Comment.
 Element CDATA.getParent()
          This will return the parent of this CDATA node, which is always a JDOM Element.
 Element EntityRef.getParent()
           This will return the parent of this EntityRef.
 Element Attribute.getParent()
           This will return the parent of this Attribute.
 Element Document.getRootElement()
           This will return the root Element for this Document
 Element Element.setAttribute(Attribute attribute)
           This sets an attribute value for this element.
 Element Element.setAttribute(java.lang.String name, java.lang.String value)
           This sets an attribute value for this element.
 Element Element.setAttribute(java.lang.String name, java.lang.String value, Namespace ns)
           This sets an attribute value for this element.
 Element Element.setAttributes(java.util.List newAttributes)
           This sets the attributes of the element.
 Element Element.setChildren(java.util.List children)
           This sets the content of the element the same as setContent(java.util.List), except only Element objects are allowed in the supplied list.
 Element Element.setContent(java.util.List newContent)
           This sets the content of the element.
protected  Element Element.setDocument(Document document)
           This sets the Document parent of this element and makes it the root element.
 Element Element.setName(java.lang.String name)
           This sets the (local) name of the Element.
 Element Element.setNamespace(Namespace namespace)
           This sets this Element's Namespace.
protected  Element Element.setParent(Element parent)
           This will set the parent of this Element.
 Element Element.setText(java.lang.String text)
           This sets the content of the element to be the text given.
 

Methods in org.jdom with parameters of type Element
 Element Element.addContent(Element element)
           This adds element content to this element.
static java.lang.String Verifier.checkNamespaceCollision(Attribute attribute, Element element)
           Check if Attribute's namespace collides with a Element's namespace.
static java.lang.String Verifier.checkNamespaceCollision(Namespace namespace, Element element)
           Check if a Namespace collides with a Element's namespace.
 boolean Element.isAncestor(Element element)
           Determines if this element is the ancestor of another element.
 boolean Element.removeContent(Element element)
           This removes the specified Element.
protected  ProcessingInstruction ProcessingInstruction.setParent(Element parent)
           This will set the parent of this ProcessingInstruction.
protected  Text Text.setParent(Element parent)
          This will set the parent of the Text node to the supplied Element.
protected  Element Element.setParent(Element parent)
           This will set the parent of this Element.
protected  Comment Comment.setParent(Element parent)
           This will set the parent of this Comment.
protected  CDATA CDATA.setParent(Element parent)
          This will set the parent of the CDATA node to the supplied Element.
protected  EntityRef EntityRef.setParent(Element parent)
           This will set the parent of this Entity.
protected  Attribute Attribute.setParent(Element parent)
           This will set the parent of this Attribute.
 Document Document.setRootElement(Element rootElement)
           This sets the root Element for the Document.
 

Constructors in org.jdom with parameters of type Element
Document(Element rootElement)
           This will create a new Document, with the supplied Element as the root element, and no DocType declaration.
Document(Element rootElement, DocType docType)
           This will create a new Document, with the supplied Element as the root element and the supplied DocType declaration.
IllegalAddException(Document base, Element added, java.lang.String reason)
           This will create an Exception indicating that the addition of the Element to the Document is illegal.
IllegalAddException(Element base, Attribute added, java.lang.String reason)
           This will create an Exception indicating that the addition of the Attribute to the Element is illegal.
IllegalAddException(Element base, CDATA added, java.lang.String reason)
           This will create an Exception indicating that the addition of the CDATA
IllegalAddException(Element base, Comment added, java.lang.String reason)
           This will create an Exception indicating that the addition of the Comment to the Element is illegal.
IllegalAddException(Element base, Element added, java.lang.String reason)
           This will create an Exception indicating that the addition of the Element to parent is illegal.
IllegalAddException(Element base, EntityRef added, java.lang.String reason)
           This will create an Exception indicating that the addition of the EntityRef to the Element is illegal.
IllegalAddException(Element base, Namespace added, java.lang.String reason)
           This will create an Exception indicating that the addition of the Namespace to the Element is illegal.
IllegalAddException(Element base, ProcessingInstruction added, java.lang.String reason)
           This will create an Exception indicating that the addition of the ProcessingInstruction to the Element is illegal.
IllegalAddException(Element base, Text added, java.lang.String reason)
           This will create an Exception indicating that the addition of the Text to the Element is illegal.
 

Uses of Element in org.jdom.input
 

Methods in org.jdom.input that return Element
 Element DOMBuilder.build(org.w3c.dom.Element domElement)
           This will build a JDOM Element from an existing DOM Element
 Element DefaultJDOMFactory.element(java.lang.String name)
           
 Element JDOMFactory.element(java.lang.String name)
           This will create an Element in no Namespace.
 Element DefaultJDOMFactory.element(java.lang.String name, Namespace namespace)
           
 Element JDOMFactory.element(java.lang.String name, Namespace namespace)
           This will create a new Element with the supplied (local) name, and define the Namespace to be used.
 Element DefaultJDOMFactory.element(java.lang.String name, java.lang.String uri)
           
 Element JDOMFactory.element(java.lang.String name, java.lang.String uri)
           This will create a new Element with the supplied (local) name, and specifies the URI of the Namespace the Element should be in, resulting it being unprefixed (in the default namespace).
 Element DefaultJDOMFactory.element(java.lang.String name, java.lang.String prefix, java.lang.String uri)
           
 Element JDOMFactory.element(java.lang.String name, java.lang.String prefix, java.lang.String uri)
           This will create a new Element with the supplied (local) name, and specifies the prefix and URI of the Namespace the Element should be in.
protected  Element SAXHandler.getCurrentElement()
           Returns the being-parsed element.
 

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

Uses of Element in org.jdom.output
 

Methods in org.jdom.output with parameters of type Element
 org.w3c.dom.Element DOMOutputter.output(Element element)
           This converts the JDOM Element parameter to a DOM Element, returning the DOM version.
protected  org.w3c.dom.Element DOMOutputter.output(Element element, org.w3c.dom.Document domDoc, org.jdom.output.NamespaceStack namespaces)
           
 void XMLOutputter.output(Element element, java.io.OutputStream out)
           Print out an Element, including it's Attributes, and all contained (child) elements, etc.
 void XMLOutputter.output(Element element, java.io.Writer out)
           Print out an Element, including it's Attributes, and all contained (child) elements, etc.
 void XMLOutputter.outputElementContent(Element element, java.io.OutputStream out)
          This will handle printing out an Element's content only, not including its tag, and attributes.
 void XMLOutputter.outputElementContent(Element element, java.io.Writer out)
           This will handle printing out an Element's content only, not including its tag, and attributes.
 java.lang.String XMLOutputter.outputString(Element element)
           Return a string representing an element.
protected  void XMLOutputter.printAttributes(java.util.List attributes, Element parent, java.io.Writer out, XMLOutputter.NamespaceStack namespaces)
           This will handle printing of a Attribute list.
protected  void XMLOutputter.printElement(Element element, java.io.Writer out, int level, XMLOutputter.NamespaceStack namespaces)
           This will handle printing of a Element, it's Attributes, and all contained (child) elements, etc.
protected  void XMLOutputter.printElementContent(Element element, java.io.Writer out, int level, XMLOutputter.NamespaceStack namespaces)
           This will handle printing of a Element's content only, not including it's tag, attributes, or namespace info.
 



Copyright ? 2002 Jason Hunter, Brett McLaughlin. All Rights Reserved.