Index
All Classes and Interfaces|All Packages
A
- Azure XML shared library for Java - Search tag in Overview
- Section
C
- close() - Method in class com.azure.xml.XmlReader
-
Closes the XML stream.
- close() - Method in class com.azure.xml.XmlWriter
-
Closes the XML stream.
- com.azure.xml - package com.azure.xml
-
Contains general classes for handling XML.
- consume(String, String, XmlReader) - Method in interface com.azure.xml.XmlElementConsumer
-
Consume an XML element.
- Contributing - Search tag in Overview
- Section
- currentToken() - Method in class com.azure.xml.XmlReader
-
Gets the
XmlTokenthat the reader points to currently.
E
- elementNameMatches(String) - Method in class com.azure.xml.XmlReader
-
Checks if the current element name matches the provided local name.
- elementNameMatches(String, String) - Method in class com.azure.xml.XmlReader
-
Checks if the current element namespace URI and name matches the provided namespace URI and local name.
- END_DOCUMENT - Enum constant in enum com.azure.xml.XmlToken
-
Indicates the end of an XML document.
- END_ELEMENT - Enum constant in enum com.azure.xml.XmlToken
-
Indicates the end of an XML element.
- Examples - Search tag in Overview
- Section
F
- flush() - Method in class com.azure.xml.XmlWriter
-
Flushes any un-flushed content that has been written to the
XmlWriter. - fromBytes(byte[]) - Static method in class com.azure.xml.XmlReader
- fromReader(Reader) - Static method in class com.azure.xml.XmlReader
-
Creates an
XmlReaderthat parses the passedxml. - fromStream(InputStream) - Static method in class com.azure.xml.XmlReader
-
Creates an
XmlReaderthat parses the passedxml. - fromString(String) - Static method in class com.azure.xml.XmlReader
-
Creates an
XmlReaderthat parses the passedxml. - fromXml(XmlReader) - Static method in interface com.azure.xml.XmlSerializable
-
Reads an XML stream into an object.
- fromXml(XmlReader, String) - Static method in interface com.azure.xml.XmlSerializable
-
Reads an XML stream into an object.
- fromXmlStreamReader(XMLStreamReader) - Static method in class com.azure.xml.XmlReader
-
Creates an
XmlReaderthat parses the passedxml. - fromXmlStreamWriter(XMLStreamWriter) - Static method in class com.azure.xml.XmlWriter
-
Creates an instance of
XmlWriterthat writes to the providedXMLStreamWriter.
G
- getBinaryAttribute(String, String) - Method in class com.azure.xml.XmlReader
-
Gets the binary value for the attribute in the XML element.
- getBinaryElement() - Method in class com.azure.xml.XmlReader
-
Gets the binary value for the current element.
- getBooleanAttribute(String, String) - Method in class com.azure.xml.XmlReader
-
Gets the boolean value for the attribute in the XML element.
- getBooleanElement() - Method in class com.azure.xml.XmlReader
-
Gets the boolean value for the current element.
- getDoubleAttribute(String, String) - Method in class com.azure.xml.XmlReader
-
Gets the double value for the attribute in the XML element.
- getDoubleElement() - Method in class com.azure.xml.XmlReader
-
Gets the double value for the current element.
- getElementLocalName() - Method in class com.azure.xml.XmlReader
-
Gets the local name for the current XML element.
- getElementName() - Method in class com.azure.xml.XmlReader
-
Gets the
QNamefor the current XML element. - getElementNamespaceUri() - Method in class com.azure.xml.XmlReader
-
Gets the namespace URI for the current XML element.
- getFloatAttribute(String, String) - Method in class com.azure.xml.XmlReader
-
Gets the float value for the attribute in the XML element.
- getFloatElement() - Method in class com.azure.xml.XmlReader
-
Gets the float value for the current element.
- getIntAttribute(String, String) - Method in class com.azure.xml.XmlReader
-
Gets the int value for the attribute in the XML element.
- getIntElement() - Method in class com.azure.xml.XmlReader
-
Gets the int value for the current element.
- getLongAttribute(String, String) - Method in class com.azure.xml.XmlReader
-
Gets the long value for the attribute in the XML element.
- getLongElement() - Method in class com.azure.xml.XmlReader
-
Gets the long value for the current element.
- getNullableAttribute(String, String, XmlReadValueCallback<String, T>) - Method in class com.azure.xml.XmlReader
-
Gets the nullable value for the attribute in the XML element.
- getNullableElement(XmlReadValueCallback<String, T>) - Method in class com.azure.xml.XmlReader
-
Gets the nullable value for the current element.
- getStringAttribute(String, String) - Method in class com.azure.xml.XmlReader
-
Gets the string value for the attribute in the XML element.
- getStringElement() - Method in class com.azure.xml.XmlReader
-
Gets the string value for the current element.
- Getting started - Search tag in Overview
- Section
I
- Include direct dependency - Search tag in Overview
- Section
- Include the package - Search tag in Overview
- Section
K
- Key concepts - Search tag in Overview
- Section
N
- nextElement() - Method in class com.azure.xml.XmlReader
-
Iterates to and returns the next
XmlToken.START_ELEMENTorXmlToken.END_ELEMENTin the XML stream. - Next steps - Search tag in Overview
- Section
P
- Prerequisites - Search tag in Overview
- Section
- processNextElement(XmlElementConsumer) - Method in class com.azure.xml.XmlReader
-
Processes the next element in the XML stream.
R
- read(T) - Method in interface com.azure.xml.XmlReadValueCallback
-
Applies the read callback to the
input. - readObject(String, XmlReadValueCallback<XmlReader, T>) - Method in class com.azure.xml.XmlReader
-
Reads an object from the XML stream.
- readObject(String, String, XmlReadValueCallback<XmlReader, T>) - Method in class com.azure.xml.XmlReader
-
Reads an object from the XML stream.
S
- skipElement() - Method in class com.azure.xml.XmlReader
-
Skips the current XML element.
- START_DOCUMENT - Enum constant in enum com.azure.xml.XmlToken
-
Indicates the start of an XML document.
- START_ELEMENT - Enum constant in enum com.azure.xml.XmlToken
-
Indicates the start of an XML element.
T
- toStream(OutputStream) - Static method in class com.azure.xml.XmlWriter
-
Creates an instance of
XmlWriterthat writes to the providedOutputStream. - toWriter(Writer) - Static method in class com.azure.xml.XmlWriter
- toXml(XmlWriter) - Method in interface com.azure.xml.XmlSerializable
-
Writes the object to the passed
XmlWriter. - toXml(XmlWriter, String) - Method in interface com.azure.xml.XmlSerializable
-
Writes the object to the passed
XmlWriter. - Troubleshooting - Search tag in Overview
- Section
V
- valueOf(String) - Static method in enum com.azure.xml.XmlToken
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.azure.xml.XmlToken
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- writeBinary(byte[]) - Method in class com.azure.xml.XmlWriter
-
Writes a binary value as a base64 string.
- writeBinaryAttribute(String, byte[]) - Method in class com.azure.xml.XmlWriter
-
Writes a binary attribute as a base64 string (
attribute="value"). - writeBinaryAttribute(String, String, byte[]) - Method in class com.azure.xml.XmlWriter
-
Writes a binary attribute as a base64 string that has a prefix (
prefix:attribute="value"). - writeBinaryElement(String, byte[]) - Method in class com.azure.xml.XmlWriter
-
Writes a binary element as a base64 string (
<tag>value</tag). - writeBinaryElement(String, String, byte[]) - Method in class com.azure.xml.XmlWriter
-
Writes a binary element as a base64 string that has a prefix (
<tag>value</tag). - writeBoolean(boolean) - Method in class com.azure.xml.XmlWriter
-
Writes a boolean value.
- writeBoolean(Boolean) - Method in class com.azure.xml.XmlWriter
-
Writes a nullable boolean value.
- writeBooleanAttribute(String, boolean) - Method in class com.azure.xml.XmlWriter
-
Writes a boolean attribute (
attribute="true"). - writeBooleanAttribute(String, Boolean) - Method in class com.azure.xml.XmlWriter
-
Writes a nullable boolean attribute (
attribute="false"). - writeBooleanAttribute(String, String, boolean) - Method in class com.azure.xml.XmlWriter
-
Writes a boolean attribute that has a prefix (
prefix:attribute="true"). - writeBooleanAttribute(String, String, Boolean) - Method in class com.azure.xml.XmlWriter
-
Writes a nullable boolean attribute that has a prefix (
prefix:attribute="false"). - writeBooleanElement(String, boolean) - Method in class com.azure.xml.XmlWriter
-
Writes a boolean element (
<tag>true</tag). - writeBooleanElement(String, Boolean) - Method in class com.azure.xml.XmlWriter
-
Writes a nullable boolean element (
<tag>true</tag). - writeBooleanElement(String, String, boolean) - Method in class com.azure.xml.XmlWriter
-
Writes a boolean element that has a prefix (
<tag>true</tag). - writeBooleanElement(String, String, Boolean) - Method in class com.azure.xml.XmlWriter
-
Writes a nullable boolean element that has a prefix (
<tag>true</tag). - writeCDataString(String) - Method in class com.azure.xml.XmlWriter
-
Writes a CData value directly into an XML element (
<tag><![CDATA[value]]></tag>). - writeDouble(double) - Method in class com.azure.xml.XmlWriter
-
Writes a double value.
- writeDoubleAttribute(String, double) - Method in class com.azure.xml.XmlWriter
-
Writes a double attribute (
attribute="3.14"). - writeDoubleAttribute(String, String, double) - Method in class com.azure.xml.XmlWriter
-
Writes a double attribute that has a prefix (
prefix:attribute="3.14"). - writeDoubleElement(String, double) - Method in class com.azure.xml.XmlWriter
-
Writes a double element (
<tag>3.14</tag). - writeDoubleElement(String, String, double) - Method in class com.azure.xml.XmlWriter
-
Writes a double element that has a prefix (
<tag>3.14</tag). - writeEndElement() - Method in class com.azure.xml.XmlWriter
-
Ends the current XML element by writing the closing tag (
</tag>). - writeFloat(float) - Method in class com.azure.xml.XmlWriter
-
Writes a float value.
- writeFloatAttribute(String, float) - Method in class com.azure.xml.XmlWriter
-
Writes a float attribute (
attribute="2.7"). - writeFloatAttribute(String, String, float) - Method in class com.azure.xml.XmlWriter
-
Writes a float attribute that has a prefix (
prefix:attribute="2.7"). - writeFloatElement(String, float) - Method in class com.azure.xml.XmlWriter
-
Writes a float element (
<tag>2.7</tag). - writeFloatElement(String, String, float) - Method in class com.azure.xml.XmlWriter
-
Writes a float element that has a prefix (
<tag>2.7</tag). - writeInt(int) - Method in class com.azure.xml.XmlWriter
-
Writes an int value.
- writeIntAttribute(String, int) - Method in class com.azure.xml.XmlWriter
-
Writes an int attribute (
attribute="10"). - writeIntAttribute(String, String, int) - Method in class com.azure.xml.XmlWriter
-
Writes an int attribute that has a prefix (
prefix:attribute="10"). - writeIntElement(String, int) - Method in class com.azure.xml.XmlWriter
-
Writes an int element (
<tag>10</tag). - writeIntElement(String, String, int) - Method in class com.azure.xml.XmlWriter
-
Writes an int element that has a prefix (
<tag>10</tag). - writeLong(long) - Method in class com.azure.xml.XmlWriter
-
Writes a long value.
- writeLongAttribute(String, long) - Method in class com.azure.xml.XmlWriter
-
Writes a long attribute (
attribute="100000000000"). - writeLongAttribute(String, String, long) - Method in class com.azure.xml.XmlWriter
-
Writes a long attribute that has a prefix (
prefix:attribute="100000000000"). - writeLongElement(String, long) - Method in class com.azure.xml.XmlWriter
-
Writes a long element (
<tag>100000000000</tag). - writeLongElement(String, String, long) - Method in class com.azure.xml.XmlWriter
-
Writes a long element that has a prefix (
<tag>100000000000</tag). - writeNamespace(String) - Method in class com.azure.xml.XmlWriter
-
Writes a default XML namespace.
- writeNamespace(String, String) - Method in class com.azure.xml.XmlWriter
-
Writes an XML namespace with a specified prefix.
- writeNumber(Number) - Method in class com.azure.xml.XmlWriter
-
Writes a nullable number.
- writeNumberAttribute(String, Number) - Method in class com.azure.xml.XmlWriter
-
Writes a nullable number attribute (
attribute="number"). - writeNumberAttribute(String, String, Number) - Method in class com.azure.xml.XmlWriter
-
Writes a nullable number attribute that has a prefix (
prefix:attribute="number"). - writeNumberElement(String, Number) - Method in class com.azure.xml.XmlWriter
-
Writes a nullable number element (
<tag>number</tag). - writeNumberElement(String, String, Number) - Method in class com.azure.xml.XmlWriter
-
Writes a nullable number element that has a prefix (
<tag>number</tag). - writeStartDocument() - Method in class com.azure.xml.XmlWriter
-
Writes the XML document start (
<?xml version="1.0" encoding="UTF-8">). - writeStartDocument(String, String) - Method in class com.azure.xml.XmlWriter
-
Writes the XML document start (
<?xml version="1.0" encoding="utf-8">). - writeStartElement(String) - Method in class com.azure.xml.XmlWriter
-
Begins an XML element start (
<tag). - writeStartElement(String, String) - Method in class com.azure.xml.XmlWriter
-
Begins an XML element start that has a prefix (
<prefix:tag). - writeStartSelfClosingElement(String) - Method in class com.azure.xml.XmlWriter
-
Begins an XML element start that will be self-closing (
<tag/>). - writeStartSelfClosingElement(String, String) - Method in class com.azure.xml.XmlWriter
-
Begins an XML element start that has a prefix that will be self-closing (
<prefix:tag/>). - writeString(String) - Method in class com.azure.xml.XmlWriter
-
Writes a value directly into an XML element (
<tag>value</tag>). - writeStringAttribute(String, String) - Method in class com.azure.xml.XmlWriter
-
Writes a String attribute (
attribute="value"). - writeStringAttribute(String, String, String) - Method in class com.azure.xml.XmlWriter
-
Writes a String attribute that has a prefix (
prefix:attribute="value"). - writeStringElement(String, String) - Method in class com.azure.xml.XmlWriter
-
Writes a string element (
<tag>string</tag). - writeStringElement(String, String, String) - Method in class com.azure.xml.XmlWriter
-
Writes a string element that has a prefix (
<tag>string</tag). - writeXml(XmlSerializable<?>) - Method in class com.azure.xml.XmlWriter
-
Writes an
XmlSerializableobject. - writeXml(XmlSerializable<?>, String) - Method in class com.azure.xml.XmlWriter
-
Writes an
XmlSerializableobject.
X
- XmlElementConsumer - Interface in com.azure.xml
-
A callback used when processing an XML element.
- XmlProvider - Search tag in Overview
- Section
- XmlReader - Search tag in Overview
- Section
- XmlReader - Class in com.azure.xml
-
Reads an XML encoded value as a stream of tokens.
- XmlReadValueCallback<T,
R> - Interface in com.azure.xml -
A callback used when reading an XML value, such as
XmlReader.getNullableElement(XmlReadValueCallback). - XmlSerializable - Search tag in Overview
- Section
- XmlSerializable - Search tag in Overview
- Section
- XmlSerializable<T> - Interface in com.azure.xml
-
Indicates that the implementing class can be serialized to and deserialized from XML.
- XmlToken - Search tag in Overview
- Section
- XmlToken - Enum in com.azure.xml
-
Token types used when reading XML content.
- XmlWriter - Search tag in Overview
- Section
- XmlWriter - Class in com.azure.xml
-
Writes an XML encoded value to a stream.
All Classes and Interfaces|All Packages