Package | Description |
---|---|
org.jdom2 |
Classes representing the components of an XML document.
|
Modifier and Type | Field and Description |
---|---|
static AttributeType |
Attribute.CDATA_TYPE
JDOM 1.x compatible reference to
CDATA |
static AttributeType |
Attribute.ENTITIES_TYPE
JDOM 1.x compatible reference to
ENTITIES |
static AttributeType |
Attribute.ENTITY_TYPE
JDOM 1.x compatible reference to
ENTITY |
static AttributeType |
Attribute.ENUMERATED_TYPE
JDOM 1.x compatible reference to
ENUMERATION |
static AttributeType |
Attribute.ID_TYPE
JDOM 1.x compatible reference to
ID |
static AttributeType |
Attribute.IDREF_TYPE
JDOM 1.x compatible reference to
IDREF |
static AttributeType |
Attribute.IDREFS_TYPE
JDOM 1.x compatible reference to
IDREFS |
static AttributeType |
Attribute.NMTOKEN_TYPE
JDOM 1.x compatible reference to
NMTOKEN |
static AttributeType |
Attribute.NMTOKENS_TYPE
JDOM 1.x compatible reference to
NMTOKENS |
static AttributeType |
Attribute.NOTATION_TYPE
JDOM 1.x compatible reference to
NOTATION |
protected AttributeType |
Attribute.type
The type of the
Attribute |
static AttributeType |
Attribute.UNDECLARED_TYPE
JDOM 1.x compatible reference to
UNDECLARED |
Modifier and Type | Method and Description |
---|---|
static AttributeType |
AttributeType.byIndex(int index)
Deprecated.
Use normal Enums instead of int's
|
AttributeType |
Attribute.getAttributeType()
This will return the declared type of this
Attribute . |
static AttributeType |
AttributeType.getAttributeType(java.lang.String typeName)
Returns the the JDOM AttributeType value from the SAX 2.0
attribute type string provided by the parser.
|
static AttributeType |
AttributeType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AttributeType[] |
AttributeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
UncheckedJDOMFactory.attribute(java.lang.String name,
java.lang.String value,
AttributeType type) |
Attribute |
JDOMFactory.attribute(java.lang.String name,
java.lang.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 . |
Attribute |
DefaultJDOMFactory.attribute(java.lang.String name,
java.lang.String value,
AttributeType type) |
Attribute |
SlimJDOMFactory.attribute(java.lang.String name,
java.lang.String value,
AttributeType type) |
Attribute |
UncheckedJDOMFactory.attribute(java.lang.String name,
java.lang.String value,
AttributeType type,
Namespace namespace) |
Attribute |
JDOMFactory.attribute(java.lang.String name,
java.lang.String value,
AttributeType type,
Namespace namespace)
This will create a new
Attribute with the
specified (local) name, value, and type, and in the provided
. |
Attribute |
DefaultJDOMFactory.attribute(java.lang.String name,
java.lang.String value,
AttributeType type,
Namespace namespace) |
Attribute |
SlimJDOMFactory.attribute(java.lang.String name,
java.lang.String value,
AttributeType type,
Namespace namespace) |
Attribute |
Attribute.setAttributeType(AttributeType type)
This will set the type of the
Attribute . |
Constructor and Description |
---|
Attribute(java.lang.String name,
java.lang.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 . |
Attribute(java.lang.String name,
java.lang.String value,
AttributeType type,
Namespace namespace)
This will create a new
Attribute with the
specified (local) name, value, and type, and in the provided
. |
Copyright © 2021 Jason Hunter, Brett McLaughlin. All Rights Reserved.