Package | Description |
---|---|
javolution.text |
Text handling package.
|
javolution.xml |
Support for the encoding of objects, and the objects reachable from them,
into
XML ; and the complementary reconstruction of the
object graph from XML . |
javolution.xml.sax | |
javolution.xml.stream |
StAX-like XML readers/writers which do not require object
creation (such as String) and are consequently faster than standard StAX.
|
Modifier and Type | Method and Description |
---|---|
CharArray |
CharArray.setArray(char[] array,
int offset,
int length)
Sets the underlying array of this CharArray.
|
CharArray |
TextBuilder.toCharArray()
Returns the
CharArray representation of this
TextBuilder . |
Modifier and Type | Method and Description |
---|---|
boolean |
CharArray.equals(CharArray that)
Compares this character array against the specified
CharArray . |
Modifier and Type | Method and Description |
---|---|
CharArray |
XMLFormat.InputElement.getAttribute(String name)
Searches for the attribute having the specified name.
|
CharArray |
XMLFormat.InputElement.getText()
Returns the content of a text-only element (equivalent to
getStreamReader().getElementText() ). |
Modifier and Type | Method and Description |
---|---|
CharArray |
Attributes.getLocalName(int index)
Looks up an attribute's local name by index.
|
CharArray |
Attributes.getQName(int index)
Looks up an attribute's XML 1.0 qualified name by index.
|
CharArray |
Attributes.getType(CharSequence qName)
Looks up an attribute's type by XML 1.0 qualified name.
|
CharArray |
Attributes.getType(CharSequence uri,
CharSequence localName)
Looks up an attribute's type by Namespace name (convenience method).
|
CharArray |
Attributes.getType(int index)
Looks up an attribute's type by index.
|
CharArray |
Attributes.getURI(int index)
Looks up an attribute's Namespace URI by index.
|
CharArray |
Attributes.getValue(CharSequence qName)
Looks up an attribute's value by XML 1.0 qualified name (convenience
method).
|
CharArray |
Attributes.getValue(CharSequence uri,
CharSequence localName)
Looks up an attribute's value by Namespace name (convenience method).
|
CharArray |
Attributes.getValue(int index)
Looks up an attribute's value by index.
|
Modifier and Type | Method and Description |
---|---|
void |
ContentHandler.endElement(CharArray uri,
CharArray localName,
CharArray qName)
Receives notification of the end of an element.
|
void |
DefaultHandler.endElement(CharArray namespaceURI,
CharArray localName,
CharArray qName) |
void |
ContentHandler.endPrefixMapping(CharArray prefix)
Ends the scope of a prefix-URI mapping.
|
void |
DefaultHandler.endPrefixMapping(CharArray prefix) |
void |
ContentHandler.processingInstruction(CharArray target,
CharArray data)
Receives notification of a processing instruction.
|
void |
DefaultHandler.processingInstruction(CharArray target,
CharArray data) |
void |
ContentHandler.skippedEntity(CharArray name)
Receives notification of a skipped entity.
|
void |
DefaultHandler.skippedEntity(CharArray name) |
void |
ContentHandler.startElement(CharArray uri,
CharArray localName,
CharArray qName,
Attributes atts)
Receives notification of the beginning of an element.
|
void |
DefaultHandler.startElement(CharArray namespaceURI,
CharArray localName,
CharArray qName,
Attributes atts) |
protected void |
DefaultHandler.startElement(CharArray uri,
CharArray localName,
CharArray qName,
Attributes atts)
Generates compile-time error if
startElement is not
correctly overriden. |
void |
ContentHandler.startPrefixMapping(CharArray prefix,
CharArray uri)
Begins the scope of a prefix-URI Namespace mapping.
|
void |
DefaultHandler.startPrefixMapping(CharArray prefix,
CharArray uri) |
Modifier and Type | Method and Description |
---|---|
CharArray |
XMLStreamReader.getAttributeLocalName(int index)
Returns the localName of the attribute at the provided index.
|
CharArray |
XMLStreamReader.getAttributeNamespace(int index)
Returns the namespace of the attribute at the provided index
|
CharArray |
XMLStreamReader.getAttributePrefix(int index)
Returns the prefix of this attribute at the provided index
|
CharArray |
XMLStreamReader.getAttributeType(int index)
Returns the XML type of the attribute at the provided index.
|
CharArray |
XMLStreamReader.getAttributeValue(CharSequence namespaceURI,
CharSequence localName)
Returns the normalized attribute value of the attribute with the
namespace and localName.
|
CharArray |
XMLStreamReader.getAttributeValue(int index)
Returns the value of the attribute at the index.
|
CharArray |
XMLStreamReader.getCharacterEncodingScheme()
Returns the character encoding declared on the xml declaration.
|
CharArray |
XMLStreamReader.getElementText()
Reads the content of a text-only element, an exception is thrown if this
is not a text-only element.
|
CharArray |
XMLStreamReader.getLocalName()
Returns the (local) name of the current event.
|
CharArray |
XMLStreamReader.getNamespacePrefix(int index)
Returns the prefix for the namespace declared at the index.
|
CharArray |
XMLStreamReader.getNamespaceURI()
If the current event is a START_ELEMENT or END_ELEMENT this method
returns the URI of the current element (URI mapping to the prefix
element/attribute has; or if no prefix
null ). |
CharArray |
NamespaceContext.getNamespaceURI(CharSequence prefix)
Returns the namespace URI bound to a prefix in the current scope
or
null if the prefix is unbound. |
CharArray |
XMLStreamReader.getNamespaceURI(CharSequence prefix)
Returns the uri for the given prefix.
|
CharArray |
XMLStreamReader.getNamespaceURI(int index)
Returns the URI for the namespace declared at the index.
|
CharArray |
XMLStreamReader.getPIData()
Get the data section of a processing instruction.
|
CharArray |
XMLStreamReader.getPITarget()
Returns the target of a processing instruction.
|
CharArray |
XMLStreamReader.getPrefix()
Returns the prefix of the current event or null if the event does not
have a prefix.
|
CharArray |
NamespaceContext.getPrefix(CharSequence namespaceURI)
Returns the prefix bound to the namespace URI in the current scope
or
null if the namespace URI is unbound. |
CharArray |
XMLStreamReader.getText()
Returns the current value of the parse event as a string, this returns
the string value of a CHARACTERS event, returns the value of a COMMENT,
the replacement value for an ENTITY_REFERENCE, the string value of a
CDATA section, the string value for a SPACE event, or the String value of
the internal subset of the DTD.
|
CharArray |
XMLStreamReader.getVersion()
Gets the xml version declared on the xml declaration.
|
Modifier and Type | Method and Description |
---|---|
Iterator<CharArray> |
NamespaceContext.getPrefixes(CharSequence namespaceURI)
Returns all prefixes bound to a namespace URI in the current scope
(including predefined prefixes).
|
Copyright © 2005-2013 Javolution. All Rights Reserved.