Java org.jdom2 JDOMFactory fields, constructors, methods, implement or subclass

Example usage for Java org.jdom2 JDOMFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jdom2 JDOMFactory.

The text is from its open source code.

Method

Attributeattribute(String name, String value)
This will create a new Attribute with the specified (local) name and value, and does not place the attribute in a org.jdom2.Namespace .
Attributeattribute(String name, String value, Namespace namespace)

This will create a new Attribute with the specified (local) name and value, and in the provided org.jdom2.Namespace .

Attributeattribute(String name, String value, int type)
This will create a new Attribute with the specified (local) name, value and type, and does not place the attribute in a org.jdom2.Namespace .
Attributeattribute(String name, String value, AttributeType type)
This will create a new Attribute with the specified (local) name, value and type, and does not place the attribute in a org.jdom2.Namespace .
Documentdocument(Element rootElement)
This will create a new Document, with the supplied org.jdom2.Element as the root element, and no org.jdom2.DocType declaration.
Elementelement(String name)
This will create an Element in no org.jdom2.Namespace .
Elementelement(String name, Namespace namespace)
This will create a new Element with the supplied (local) name, and define the org.jdom2.Namespace to be used.
Elementelement(String name, String uri)
This will create a new Element with the supplied (local) name, and specifies the URI of the org.jdom2.Namespace the Element should be in, resulting it being unprefixed (in the default namespace).