@Deprecated
public class AttributesImpl
extends org.xml.sax.helpers.AttributesImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CDATA
Deprecated.
|
static org.xml.sax.Attributes |
EMPTY_ATTRIBUTES
Deprecated.
|
static java.lang.String |
ENTITIES
Deprecated.
|
static java.lang.String |
ENTITY
Deprecated.
|
static java.lang.String |
ID
Deprecated.
|
static java.lang.String |
IDREF
Deprecated.
|
static java.lang.String |
IDREFS
Deprecated.
|
static java.lang.String |
NAME
Deprecated.
|
static java.lang.String |
NAMES
Deprecated.
|
static java.lang.String |
NMTOKEN
Deprecated.
|
static java.lang.String |
NMTOKENS
Deprecated.
|
static java.lang.String |
NOTATION
Deprecated.
|
static java.lang.String |
NUMBER
Deprecated.
|
static java.lang.String |
NUMBERS
Deprecated.
|
static java.lang.String |
NUTOKEN
Deprecated.
|
static java.lang.String |
NUTOKENS
Deprecated.
|
Constructor and Description |
---|
AttributesImpl()
Deprecated.
Constructor
|
AttributesImpl(org.xml.sax.Attributes attr)
Deprecated.
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addCDATAAttribute(java.lang.String localName,
java.lang.String value)
Deprecated.
Add an attribute of type CDATA with empty Namespace to the end of the list.
|
void |
addCDATAAttribute(java.lang.String namespace,
java.lang.String localName,
java.lang.String value)
Deprecated.
Add an attribute of type CDATA with the namespace to the end of the list.
|
void |
addCDATAAttribute(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
java.lang.String value)
Deprecated.
Add an attribute of type CDATA to the end of the list.
|
void |
removeAttribute(java.lang.String localName)
Deprecated.
Remove an attribute
|
void |
removeAttribute(java.lang.String uri,
java.lang.String localName)
Deprecated.
Remove an attribute
|
static org.xml.sax.Attributes |
update(org.xml.sax.Attributes attributes,
java.lang.String name,
java.lang.String value)
Deprecated.
Utility method to update the value of the named attribute.
|
addAttribute, clear, getIndex, getIndex, getLength, getLocalName, getQName, getType, getType, getType, getURI, getValue, getValue, getValue, removeAttribute, setAttribute, setAttributes, setLocalName, setQName, setType, setURI, setValue
public static final org.xml.sax.Attributes EMPTY_ATTRIBUTES
public static final java.lang.String CDATA
public static final java.lang.String ENTITY
public static final java.lang.String ENTITIES
public static final java.lang.String ID
public static final java.lang.String IDREF
public static final java.lang.String IDREFS
public static final java.lang.String NAME
public static final java.lang.String NAMES
public static final java.lang.String NMTOKEN
public static final java.lang.String NMTOKENS
public static final java.lang.String NOTATION
public static final java.lang.String NUMBER
public static final java.lang.String NUMBERS
public static final java.lang.String NUTOKEN
public static final java.lang.String NUTOKENS
public AttributesImpl()
public AttributesImpl(org.xml.sax.Attributes attr)
attr
- Attributes
public static org.xml.sax.Attributes update(org.xml.sax.Attributes attributes, java.lang.String name, java.lang.String value)
attributes
- original set of attributesname
- attribute namevalue
- new attribute valuepublic void addCDATAAttribute(java.lang.String localName, java.lang.String value)
For the sake of speed, this method does no checking to see if the attribute is already in the list: that is the responsibility of the application.
localName
- The local name.value
- The attribute value.public void addCDATAAttribute(java.lang.String namespace, java.lang.String localName, java.lang.String value)
For the sake of speed, this method does no checking to see if the attribute is already in the list: that is the responsibility of the application.
namespace
- The namespace.localName
- The local name.value
- The attribute value.public void addCDATAAttribute(java.lang.String uri, java.lang.String localName, java.lang.String qName, java.lang.String value)
For the sake of speed, this method does no checking to see if the attribute is already in the list: that is the responsibility of the application.
uri
- The Namespace URI, or the empty string if
none is available or Namespace processing is not
being performed.localName
- The local name, or the empty string if
Namespace processing is not being performed.qName
- The qualified (prefixed) name, or the empty string
if qualified names are not available.value
- The attribute value.public void removeAttribute(java.lang.String localName)
localName
- The attribute's local name.public void removeAttribute(java.lang.String uri, java.lang.String localName)
uri
- The attribute's Namespace URI, or the empty
string if none is available.localName
- The attribute's local name."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"