ExtensionElement

interface ExtensionElement extends Element

An ExtensionElement in the HeaderContainer

Author:cyng

Fields

ATTRIBUTE_ID

static final String ATTRIBUTE_ID

Name of the ID attribute.

ATTRIBUTE_LANG

static final String ATTRIBUTE_LANG

Name of the language attribute.

ATTRIBUTE_SCHEMA_LOCATION

static final String ATTRIBUTE_SCHEMA_LOCATION

Name of the Schema location attribute

ATTRIBUTE_VERSION

static final String ATTRIBUTE_VERSION

Name of the version attribute.

LANG_TYPE

static final String LANG_TYPE

Default language type of the MSH.

NAMESPACE_PREFIX_EB

static final String NAMESPACE_PREFIX_EB

Namespace prefix of ExtensionElement.

NAMESPACE_PREFIX_SOAP_ENVELOPE

static final String NAMESPACE_PREFIX_SOAP_ENVELOPE

Namespace prefix of SOAP envelope.

NAMESPACE_PREFIX_XML

static final String NAMESPACE_PREFIX_XML

Namespace prefix of XML.

NAMESPACE_PREFIX_XSI

static final String NAMESPACE_PREFIX_XSI

Namespace prefix of XML Schema Instance

NAMESPACE_URI_EB

static final String NAMESPACE_URI_EB

Namespace URI of ExtensionElement.

NAMESPACE_URI_SOAP_ENVELOPE

static final String NAMESPACE_URI_SOAP_ENVELOPE

Namespace URI of SOAP envelope.

NAMESPACE_URI_XML

static final String NAMESPACE_URI_XML

Namespace URI of XML.

NAMESPACE_URI_XSI

static final String NAMESPACE_URI_XSI

Namespace URI of XML Schema Instance

SCHEMA_LOCATION_SOAP_BODY

static final String SCHEMA_LOCATION_SOAP_BODY

URI of SOAP SOAP body schema location

SCHEMA_LOCATION_SOAP_ENVELOPE

static final String SCHEMA_LOCATION_SOAP_ENVELOPE

URI of SOAP envelope schema location

SCHEMA_LOCATION_SOAP_HEADER

static final String SCHEMA_LOCATION_SOAP_HEADER

URI of SOAP header schema location

VERSION

static final String VERSION

Version of ebXML Messaging Service.

XML_NS_DECL_PREFIX

static final String XML_NS_DECL_PREFIX

Attribute prefix for XML namespace declarations.

XML_NS_SEPARATOR

static final char XML_NS_SEPARATOR

Character that separates the namespace prefix and local name in an XML tag.

Methods

addAttribute

ExtensionElement addAttribute(String localName, String value)

Add an attribute whose namespace is the same as this ExtensionElement.

addAttribute

ExtensionElement addAttribute(String localName, String prefix, String uri, String value)

Add a namespace qualified attribute.

addChildElement

ExtensionElement addChildElement(String localName)

Add a child element without text node value and whose namespace is the same as this ExtensionElement, i.e., the parent.

addChildElement

ExtensionElement addChildElement(String localName, String value)

Add a child element with the specified value and whose namespace is the same as this ExtensionElement, i.e., the parent.

addChildElement

ExtensionElement addChildElement(String localName, String prefix, String uri)

Add a child element without text node value and with the specified namespace.

addChildElement

ExtensionElement addChildElement(String localName, String prefix, String uri, String value)

Add a child element with the specified value and namespace.

getAttributeValue

String getAttributeValue(String localName)

Get an attribute whose namespace is the same as this ExtensionElement.

getAttributeValue

String getAttributeValue(String localName, String prefix, String uri)

Get an attribute with the specified prefix and namespace

getChildElements

Iterator getChildElements(String localName)

Get all descendant child elements of the specified localName whose namespace is the same as this ExtensionElement, in the order in which they are encountered in a preorder traversal of this ExtensionElement tree. Each Iterator entry is in the form of an javax.xml.soap.SOAPElement.