Example usage for Java org.jdom2 JDOMFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
Attribute | attribute(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 . |
Attribute | attribute(String name, String value, Namespace namespace) This will create a new |
Attribute | attribute(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 . |
Attribute | attribute(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 . |
Document | document(Element rootElement) This will create a new Document , with the supplied org.jdom2.Element as the root element, and no org.jdom2.DocType declaration. |
Element | element(String name) This will create an Element in no org.jdom2.Namespace . |
Element | element(String name, Namespace namespace) This will create a new Element with the supplied (local) name, and define the org.jdom2.Namespace to be used. |
Element | element(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). |