microsoft.exchange.webservices.data.core.enumeration.misc
Enum XmlNamespace

java.lang.Object
  extended by java.lang.Enum<XmlNamespace>
      extended by 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
Autodiscover
          The Autodiscover.
Errors
          The Errors.
Messages
          The Messages.
NotSpecified
          The Not specified.
PassportSoapFault
          The Passport soap fault.
Soap
          The Soap.
Soap12
          The Soap12.
Types
          The Types.
WSAddressing
          The WS addressing.
WSTrustFebruary2005
          The WS trust february2005.
XmlSchemaInstance
          The Xml schema instance.
 
Method Summary
 String getNameSpacePrefix()
          Gets the name space prefix.
 String getNameSpaceUri()
          Gets the name space uri.
static XmlNamespace valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - 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


Copyright © 2012–2015 Microsoft. All rights reserved.