B C D E F G I L N O P R S W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- Base64 - Class in org.apache.ws.commons.util
-
Performs Base64 encoding and/or decoding.
- Base64() - Constructor for class org.apache.ws.commons.util.Base64
- Base64.Decoder - Class in org.apache.ws.commons.util
-
An encoder is an object, which is able to decode char arrays in blocks of four bytes.
- Base64.DecodingException - Exception in org.apache.ws.commons.util
-
An exception of this type is thrown, if the decoded character stream contains invalid input.
- Base64.Encoder - Class in org.apache.ws.commons.util
-
An encoder is an object, which is able to encode byte array in blocks of three bytes.
- Base64.EncoderOutputStream - Class in org.apache.ws.commons.util
-
An
OutputStream
, which is writing to the givenBase64.Encoder
. - Base64.SAXEncoder - Class in org.apache.ws.commons.util
-
An
Base64.Encoder
, which is writing to a SAX content handler. - Base64.SAXIOException - Exception in org.apache.ws.commons.util
-
An exception of this type is thrown by the
Base64.SAXEncoder
, if writing to the target handler causes a SAX exception.
C
- canEncode(char) - Method in class org.apache.ws.commons.serialize.CharSetXMLWriter
- canEncode(char) - Method in class org.apache.ws.commons.serialize.PassThroughXMLWriter
- canEncode(char) - Method in interface org.apache.ws.commons.serialize.XMLWriter
-
Returns whether the XMLWriter can encode the character
c
without an escape sequence like &#ddd;. - canEncode(char) - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
- characters(char[], int, int) - Method in class org.apache.ws.commons.serialize.DOMBuilder
- characters(char[], int, int) - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
-
Inserts a string of characters into the document.
- CharSetXMLWriter - Class in org.apache.ws.commons.serialize
-
An improved version of
XMLWriterImpl
, using theCharset
from Java 1.4. - CharSetXMLWriter() - Constructor for class org.apache.ws.commons.serialize.CharSetXMLWriter
- checkContext(int) - Method in class org.apache.ws.commons.util.NamespaceContextImpl
-
This method is used to restore the namespace state after an element is created.
- close() - Method in class org.apache.ws.commons.util.Base64.EncoderOutputStream
D
- decode(char[]) - Static method in class org.apache.ws.commons.util.Base64
-
Converts the given base64 encoded character buffer into a byte array.
- decode(char[], int, int) - Static method in class org.apache.ws.commons.util.Base64
-
Converts the given base64 encoded character buffer into a byte array.
- decode(String) - Static method in class org.apache.ws.commons.util.Base64
-
Converts the given base64 encoded String into a byte array.
- Decoder(int) - Constructor for class org.apache.ws.commons.util.Base64.Decoder
-
Creates a new instance.
- DOMBuilder - Class in org.apache.ws.commons.serialize
-
Converts a stream of SAX events into a DOM node.
- DOMBuilder() - Constructor for class org.apache.ws.commons.serialize.DOMBuilder
- DOMSerializer - Class in org.apache.ws.commons.serialize
-
Serializes a DOM node into a stream of SAX events.
- DOMSerializer() - Constructor for class org.apache.ws.commons.serialize.DOMSerializer
- doSerialize(Node, ContentHandler) - Method in class org.apache.ws.commons.serialize.DOMSerializer
-
Converts the given node
pNode
into a stream of SAX events, which are fired into the content handlerpHandler
. - doSerializeChilds(Node, ContentHandler) - Method in class org.apache.ws.commons.serialize.DOMSerializer
-
Serializes the childs of
pNode
.
E
- encode(byte[]) - Static method in class org.apache.ws.commons.util.Base64
-
Converts the given byte array into a base64 encoded character array with the line size
Base64.LINE_SIZE
and the separatorBase64.LINE_SEPARATOR
. - encode(byte[], int, int) - Static method in class org.apache.ws.commons.util.Base64
-
Converts the given byte array into a base64 encoded character array.
- encode(byte[], int, int, int, String) - Static method in class org.apache.ws.commons.util.Base64
-
Converts the given byte array into a base64 encoded character array.
- Encoder(char[], int, String) - Constructor for class org.apache.ws.commons.util.Base64.Encoder
-
Creates a new instance.
- EncoderOutputStream(Base64.Encoder) - Constructor for class org.apache.ws.commons.util.Base64.EncoderOutputStream
-
Creates a new instance, which is creating output using the given
Base64.Encoder
. - endDocument() - Method in class org.apache.ws.commons.serialize.DOMBuilder
- endDocument() - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
-
This method finishs the handlers action.
- endElement(String, String, String) - Method in class org.apache.ws.commons.serialize.DOMBuilder
- endElement(String, String, String) - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
-
Terminates an element.
- endPrefixMapping(String) - Method in class org.apache.ws.commons.serialize.DOMBuilder
- endPrefixMapping(String) - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
-
Terminates use of a namespace prefix.
- endPrefixMapping(String) - Method in class org.apache.ws.commons.util.NamespaceContextImpl
-
Removes the declaration of the prefix, which has been defined last.
F
- flush() - Method in class org.apache.ws.commons.util.Base64.Decoder
-
Indicates, that no more data is being expected.
- flush() - Method in class org.apache.ws.commons.util.Base64.Encoder
-
Writes any currently buffered data to the destination.
- format(Object, StringBuffer, FieldPosition) - Method in class org.apache.ws.commons.util.XsDateTimeFormat
G
- getAttributePrefix(String) - Method in class org.apache.ws.commons.util.NamespaceContextImpl
-
Returns a non-empty prefix currently mapped to the given URL or null, if there is no such mapping.
- getContext() - Method in class org.apache.ws.commons.util.NamespaceContextImpl
-
Returns the current number of assigned prefixes.
- getDocument() - Method in class org.apache.ws.commons.serialize.DOMBuilder
-
Returns the document being used as object factory.
- getDocumentLocator() - Method in class org.apache.ws.commons.serialize.DOMBuilder
-
Returns the Locator.
- getDocumentLocator() - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
-
Returns the locator
- getEncoding() - Method in interface org.apache.ws.commons.serialize.XMLWriter
-
Returns the writers encoding.
- getEncoding() - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
- getIndentString() - Method in interface org.apache.ws.commons.serialize.XMLWriter
-
Returns the string being used to indent an XML element by one level.
- getIndentString() - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
- getLineFeed() - Method in interface org.apache.ws.commons.serialize.XMLWriter
-
Returns the line terminator.
- getLineFeed() - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
- getNamespaceURI(String) - Method in class org.apache.ws.commons.util.NamespaceContextImpl
-
Given a prefix, returns the URI to which the prefix is currently mapped or null, if there is no such mapping.
- getPrefix(String) - Method in class org.apache.ws.commons.util.NamespaceContextImpl
-
Returns a prefix currently mapped to the given URI or null, if there is no such mapping.
- getPrefixes() - Method in class org.apache.ws.commons.util.NamespaceContextImpl
-
Returns a list of all prefixes, which are currently declared, in the order of declaration.
- getPrefixes(String) - Method in class org.apache.ws.commons.util.NamespaceContextImpl
-
Returns a collection to all prefixes bound to the given namespace URI.
- getSAXException() - Method in exception org.apache.ws.commons.util.Base64.SAXIOException
-
Returns the encapsulated
SAXException
. - getTarget() - Method in class org.apache.ws.commons.serialize.DOMBuilder
-
Returns the target node.
- getWriter() - Method in interface org.apache.ws.commons.serialize.XMLWriter
-
Returns the target
Writer
. - getWriter() - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
-
Returns the JaxbXMLSerializers Writer.
I
- ignorableWhitespace(char[], int, int) - Method in class org.apache.ws.commons.serialize.DOMBuilder
- ignorableWhitespace(char[], int, int) - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
-
Calls the character method with the same arguments.
- isDeclarating() - Method in interface org.apache.ws.commons.serialize.XMLWriter
-
Returns, whether an XML declaration is being generated.
- isDeclarating() - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
- isFlushing() - Method in interface org.apache.ws.commons.serialize.XMLWriter
-
Returns, whether the method
ContentHandler.endDocument()
should do a flush on the target stream. - isFlushing() - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
- isIndenting() - Method in interface org.apache.ws.commons.serialize.XMLWriter
-
Returns, whether the
XMLWriter
is indenting (pretty printing). - isIndenting() - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
- isNamespaceDeclarationAttribute() - Method in class org.apache.ws.commons.serialize.DOMSerializer
-
Returns whether XML declarations are being serialized as attributes or as SAX events (default).
- isParentsNamespaceDeclarationDisabled() - Method in class org.apache.ws.commons.serialize.DOMSerializer
-
Sets whether XML declarations present in the parent nodes are being serialized (default) or not.
- isPrefixDeclared(String) - Method in class org.apache.ws.commons.util.NamespaceContextImpl
-
Returns whether a given prefix is currently declared.
- isPrefixMappingIsAttribute() - Method in class org.apache.ws.commons.serialize.DOMBuilder
-
Sets whether the event
DOMBuilder.startPrefixMapping(java.lang.String, java.lang.String)
shall create anxmlns
attribute. - isStartingDocument() - Method in class org.apache.ws.commons.serialize.DOMSerializer
-
Returns, whether
startDocument
andendDocument
events are generated for document nodes.
L
- LINE_SEPARATOR - Static variable in class org.apache.ws.commons.util.Base64
-
Default line separator: \n
- LINE_SIZE - Static variable in class org.apache.ws.commons.util.Base64
-
Default size for line wrapping.
N
- NamespaceContextImpl - Class in org.apache.ws.commons.util
-
Default implementation of
NamespaceContext
. - NamespaceContextImpl() - Constructor for class org.apache.ws.commons.util.NamespaceContextImpl
- newDecoder(OutputStream) - Static method in class org.apache.ws.commons.util.Base64
-
Returns a
Writer
, that decodes its Base64 encoded input and writes it to the givenOutputStream
. - newEncoder(Writer) - Static method in class org.apache.ws.commons.util.Base64
-
Returns an
OutputStream
, that encodes its input in Base64 and writes it to the givenWriter
. - newEncoder(Writer, int, String) - Static method in class org.apache.ws.commons.util.Base64
-
Returns an
OutputStream
, that encodes its input in Base64 and writes it to the givenWriter
.
O
- OrderedAttributeXMLWriter - Class in org.apache.ws.commons.serialize
-
A subclass of
XMLWriterImpl
, which writes the attributes ordered alphabetically. - OrderedAttributeXMLWriter() - Constructor for class org.apache.ws.commons.serialize.OrderedAttributeXMLWriter
- org.apache.ws.commons.serialize - package org.apache.ws.commons.serialize
-
This package contains classes for serializing XML to an instance of
Writer
, much like thejavax.xml.transform.stream
package. - org.apache.ws.commons.util - package org.apache.ws.commons.util
-
This package contains some utility classes, which aren't worth a separate package.
P
- parseObject(String, ParsePosition) - Method in class org.apache.ws.commons.util.XsDateTimeFormat
- PassThroughXMLWriter - Class in org.apache.ws.commons.serialize
-
A subclass of
XMLWriterImpl
, which is escaping nothing. - PassThroughXMLWriter() - Constructor for class org.apache.ws.commons.serialize.PassThroughXMLWriter
- processingInstruction(String, String) - Method in class org.apache.ws.commons.serialize.DOMBuilder
- processingInstruction(String, String) - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
-
Inserts a processing instruction.
R
- reset() - Method in class org.apache.ws.commons.util.NamespaceContextImpl
-
Resets the NamespaceSupport's state.
S
- SAXEncoder(char[], int, String, ContentHandler) - Constructor for class org.apache.ws.commons.util.Base64.SAXEncoder
-
Creates a new instance.
- serialize(Node, ContentHandler) - Method in class org.apache.ws.commons.serialize.DOMSerializer
-
Converts the given node
pNode
into a stream of SAX events, which are fired into the content handlerpHandler
. - setDeclarating(boolean) - Method in interface org.apache.ws.commons.serialize.XMLWriter
-
Sets, whether an XML declaration is being generated.
- setDeclarating(boolean) - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
- setDocument(Document) - Method in class org.apache.ws.commons.serialize.DOMBuilder
-
Sets the document being used as object factory.
- setDocumentLocator(Locator) - Method in class org.apache.ws.commons.serialize.DOMBuilder
-
Sets the Locator.
- setDocumentLocator(Locator) - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
-
Sets the locator.
- setEncoding(String) - Method in interface org.apache.ws.commons.serialize.XMLWriter
-
Sets the writers encoding.
- setEncoding(String) - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
- setFlushing(boolean) - Method in interface org.apache.ws.commons.serialize.XMLWriter
-
Sets, whether the method
ContentHandler.endDocument()
should do a flush on the target stream. - setFlushing(boolean) - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
- setIndenting(boolean) - Method in interface org.apache.ws.commons.serialize.XMLWriter
-
Returns, whether the
XMLWriter
is indenting (pretty printing). - setIndenting(boolean) - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
- setIndentString(String) - Method in interface org.apache.ws.commons.serialize.XMLWriter
-
Sets the string being used to indent an XML element by one level.
- setIndentString(String) - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
- setLineFeed(String) - Method in interface org.apache.ws.commons.serialize.XMLWriter
-
Sets the line terminator.
- setLineFeed(String) - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
- setNamespaceDeclarationAttribute(boolean) - Method in class org.apache.ws.commons.serialize.DOMSerializer
-
Sets whether XML namespace declarations are being serialized as attributes or as SAX events (default).
- setParentsNamespaceDeclarationDisabled(boolean) - Method in class org.apache.ws.commons.serialize.DOMSerializer
-
Returns whether XML declarations present in the parent nodes are being serialized (default) or not.
- setPrefixMappingIsAttribute(boolean) - Method in class org.apache.ws.commons.serialize.DOMBuilder
-
Returns whether the event
DOMBuilder.startPrefixMapping(java.lang.String, java.lang.String)
shall create anxmlns
attribute. - setStartingDocument(boolean) - Method in class org.apache.ws.commons.serialize.DOMSerializer
-
Sets, whether
startDocument
andendDocument
events are generated for document nodes. - setTarget(Node) - Method in class org.apache.ws.commons.serialize.DOMBuilder
-
Sets the target node.
- setWriter(Writer) - Method in interface org.apache.ws.commons.serialize.XMLWriter
-
Sets the target
Writer
. - setWriter(Writer) - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
-
Sets the JaxbXMLSerializers Writer.
- skippedEntity(String) - Method in class org.apache.ws.commons.serialize.DOMBuilder
- skippedEntity(String) - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
-
Not actually implemented, because I don't know how to skip entities.
- startDocument() - Method in class org.apache.ws.commons.serialize.CharSetXMLWriter
- startDocument() - Method in class org.apache.ws.commons.serialize.DOMBuilder
- startDocument() - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
-
Starts a document.
- startElement(String, String, String, Attributes) - Method in class org.apache.ws.commons.serialize.DOMBuilder
- startElement(String, String, String, Attributes) - Method in class org.apache.ws.commons.serialize.OrderedAttributeXMLWriter
- startElement(String, String, String, Attributes) - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
-
Starts a new element.
- startPrefixMapping(String, String) - Method in class org.apache.ws.commons.serialize.DOMBuilder
- startPrefixMapping(String, String) - Method in class org.apache.ws.commons.serialize.XMLWriterImpl
-
Starts use of a namespace prefix.
- startPrefixMapping(String, String) - Method in class org.apache.ws.commons.util.NamespaceContextImpl
-
Declares a new prefix.
W
- write(byte[], int, int) - Method in class org.apache.ws.commons.util.Base64.Encoder
-
Encodes the given byte array.
- write(byte[], int, int) - Method in class org.apache.ws.commons.util.Base64.EncoderOutputStream
- write(char[], int, int) - Method in class org.apache.ws.commons.util.Base64.Decoder
-
Converts the Base64 encoded character array.
- write(int) - Method in class org.apache.ws.commons.util.Base64.EncoderOutputStream
- writeBuffer(byte[], int, int) - Method in class org.apache.ws.commons.util.Base64.Decoder
-
Called for writing the decoded bytes to the destination.
- writeBuffer(char[], int, int) - Method in class org.apache.ws.commons.util.Base64.Encoder
-
Called for writing the buffer contents to the target.
- writeBuffer(char[], int, int) - Method in class org.apache.ws.commons.util.Base64.SAXEncoder
-
Writes to the content handler.
X
- XMLWriter - Interface in org.apache.ws.commons.serialize
-
A simple serializer for XML documents, which is writing to an instance of
Writer
. - XMLWriterImpl - Class in org.apache.ws.commons.serialize
-
Default implementation of
XMLWriter
. - XMLWriterImpl() - Constructor for class org.apache.ws.commons.serialize.XMLWriterImpl
- XsDateFormat - Class in org.apache.ws.commons.util
-
An instance of
Format
, which may be used to parse and formatxs:date
values. - XsDateFormat() - Constructor for class org.apache.ws.commons.util.XsDateFormat
-
Creates a new instance.
- XsDateTimeFormat - Class in org.apache.ws.commons.util
-
An instance of
Format
, which may be used to parse and formatxs:dateTime
values. - XsDateTimeFormat() - Constructor for class org.apache.ws.commons.util.XsDateTimeFormat
-
Creates a new instance.
- XsTimeFormat - Class in org.apache.ws.commons.util
-
An instance of
Format
, which may be used to parse and formatxs:time
values. - XsTimeFormat() - Constructor for class org.apache.ws.commons.util.XsTimeFormat
-
Creates a new instance.
All Classes All Packages