Enum XmlNamespace
- java.lang.Object
-
- java.lang.Enum<XmlNamespace>
-
- microsoft.exchange.webservices.data.core.enumeration.misc.XmlNamespace
-
- All Implemented Interfaces:
Serializable,Comparable<XmlNamespace>
public enum XmlNamespace extends Enum<XmlNamespace>
Defines the namespaces as used by the EwsXmlReader, EwsServiceXmlReader, and EwsServiceXmlWriter classes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AutodiscoverThe Autodiscover.ErrorsThe Errors.MessagesThe Messages.NotSpecifiedThe Not specified.PassportSoapFaultThe Passport soap fault.SoapThe Soap.Soap12The Soap12.TypesThe Types.WSAddressingThe WS addressing.WSTrustFebruary2005The WS trust february2005.XmlSchemaInstanceThe Xml schema instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNameSpacePrefix()Gets the name space prefix.StringgetNameSpaceUri()Gets the name space uri.static XmlNamespacevalueOf(String name)Returns the enum constant of this type with the specified name.static XmlNamespace[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NotSpecified
public static final XmlNamespace NotSpecified
The Not specified.
-
Messages
public static final XmlNamespace Messages
The Messages.
-
Types
public static final XmlNamespace Types
The Types.
-
Errors
public static final XmlNamespace Errors
The Errors.
-
Soap
public static final XmlNamespace Soap
The Soap.
-
Soap12
public static final XmlNamespace Soap12
The Soap12.
-
XmlSchemaInstance
public static final XmlNamespace XmlSchemaInstance
The Xml schema instance.
-
PassportSoapFault
public static final XmlNamespace PassportSoapFault
The Passport soap fault.
-
WSTrustFebruary2005
public static final XmlNamespace WSTrustFebruary2005
The WS trust february2005.
-
WSAddressing
public static final XmlNamespace WSAddressing
The WS addressing.
-
Autodiscover
public static final XmlNamespace Autodiscover
The Autodiscover.
-
-
Method Detail
-
values
public static XmlNamespace[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (XmlNamespace c : XmlNamespace.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XmlNamespace valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNameSpaceUri
public String getNameSpaceUri()
Gets the name space uri.- Returns:
- the name space uri
-
getNameSpacePrefix
public String getNameSpacePrefix()
Gets the name space prefix.- Returns:
- the name space prefix
-
-