Package | Description |
---|---|
nu.xom |
nu.xom is the core package of XOM
that contains all the basic classes representing the different kinds
of nodes: elements, attributes, comments, text nodes, and so forth. |
Modifier and Type | Field and Description |
---|---|
static Attribute.Type | Attribute.Type.CDATA
The type of attributes declared to have type CDATA
in the DTD.
|
static Attribute.Type | Attribute.Type.ENTITIES
The type of attributes declared to have type ENTITIES
in the DTD.
|
static Attribute.Type | Attribute.Type.ENTITY
The type of attributes declared to have type ENTITY
in the DTD.
|
static Attribute.Type | Attribute.Type.ENUMERATION
The type of attributes declared by an enumeration
in the DTD.
|
static Attribute.Type | Attribute.Type.ID
The type of attributes declared to have type ID
in the DTD.
|
static Attribute.Type | Attribute.Type.IDREF
The type of attributes declared to have type IDREF
in the DTD.
|
static Attribute.Type | Attribute.Type.IDREFS
The type of attributes declared to have type IDREFS
in the DTD.
|
static Attribute.Type | Attribute.Type.NMTOKEN
The type of attributes declared to have type NMTOKEN
in the DTD.
|
static Attribute.Type | Attribute.Type.NMTOKENS
The type of attributes declared to have type NMTOKENS
in the DTD.
|
static Attribute.Type | Attribute.Type.NOTATION
The type of attributes declared to have type NOTATION
in the DTD.
|
static Attribute.Type | Attribute.Type.UNDECLARED
The type of attributes not declared in the DTD.
|
Modifier and Type | Method and Description |
---|---|
Attribute.Type | Attribute.getType()
Returns the DTD type of this attribute.
|
Modifier and Type | Method and Description |
---|---|
Nodes | NodeFactory.makeAttribute(String name,
String URI,
String value,
Attribute.Type type)
Returns a new
Nodes object containing an
attribute in the specified namespace
with the specified name and type. |
void | Attribute.setType(Attribute.Type type)
Sets the type of this attribute to one of the ten
DTD types or
Type.UNDECLARED . |
Constructor and Description |
---|
Attribute(String localName,
String value,
Attribute.Type type)
Creates a new attribute in no namespace with the
specified name, value, and type.
|
Attribute(String name,
String URI,
String value,
Attribute.Type type)
Creates a new attribute in the specified namespace with the
specified name, value, and type.
|
Copyright 2002-2023 Elliotte Rusty Harold
elharo@ibiblio.org