Package com.day.cq.rewriter.pipeline
Class AttributesImpl
java.lang.Object
org.xml.sax.helpers.AttributesImpl
com.day.cq.rewriter.pipeline.AttributesImpl
- All Implemented Interfaces:
Attributes
Deprecated.
Use the Apache Cocoon XML utilities instead.
A helper Class creating SAX Attributes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final AttributesDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.ConstructorAttributesImpl(Attributes attr) Deprecated.Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCDATAAttribute(String localName, String value) Deprecated.Add an attribute of type CDATA with empty Namespace to the end of the list.voidaddCDATAAttribute(String namespace, String localName, String value) Deprecated.Add an attribute of type CDATA with the namespace to the end of the list.voidaddCDATAAttribute(String uri, String localName, String qName, String value) Deprecated.Add an attribute of type CDATA to the end of the list.voidremoveAttribute(String localName) Deprecated.Remove an attributevoidremoveAttribute(String uri, String localName) Deprecated.Remove an attributestatic Attributesupdate(Attributes attributes, String name, String value) Deprecated.Utility method to update the value of the named attribute.Methods inherited from class org.xml.sax.helpers.AttributesImpl
addAttribute, clear, getIndex, getIndex, getLength, getLocalName, getQName, getType, getType, getType, getURI, getValue, getValue, getValue, removeAttribute, setAttribute, setAttributes, setLocalName, setQName, setType, setURI, setValue
-
Field Details
-
EMPTY_ATTRIBUTES
Deprecated. -
CDATA
Deprecated.- See Also:
-
ENTITY
Deprecated.- See Also:
-
ENTITIES
Deprecated.- See Also:
-
ID
Deprecated.- See Also:
-
IDREF
Deprecated.- See Also:
-
IDREFS
Deprecated.- See Also:
-
NAME
Deprecated.- See Also:
-
NAMES
Deprecated.- See Also:
-
NMTOKEN
Deprecated.- See Also:
-
NMTOKENS
Deprecated.- See Also:
-
NOTATION
Deprecated.- See Also:
-
NUMBER
Deprecated.- See Also:
-
NUMBERS
Deprecated.- See Also:
-
NUTOKEN
Deprecated.- See Also:
-
NUTOKENS
Deprecated.- See Also:
-
-
Constructor Details
-
AttributesImpl
public AttributesImpl()Deprecated.Constructor -
AttributesImpl
Deprecated.Constructor- Parameters:
attr-Attributes
-
-
Method Details
-
update
Deprecated.Utility method to update the value of the named attribute. Returns an updated set of attributes instead of modifying the given attribute set as the given value may be read-only.- Parameters:
attributes- original set of attributesname- attribute namevalue- new attribute value- Returns:
- updated set of attributes
-
addCDATAAttribute
Deprecated.Add an attribute of type CDATA with empty Namespace to the end of the list.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.
- Parameters:
localName- The local name.value- The attribute value.
-
addCDATAAttribute
Deprecated.Add an attribute of type CDATA with the namespace to the end of the list.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.
- Parameters:
namespace- The namespace.localName- The local name.value- The attribute value.
-
addCDATAAttribute
Deprecated.Add an attribute of type CDATA to the end of the list.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.
- Parameters:
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.
-
removeAttribute
Deprecated.Remove an attribute- Parameters:
localName- The attribute's local name.
-
removeAttribute
Deprecated.Remove an attribute- Parameters:
uri- The attribute's Namespace URI, or the empty string if none is available.localName- The attribute's local name.
-