Class Hierarchy All Classes All Fields and Methods

Class com.ibm.broker.plugin.MbXML

java.lang.Object
        com.ibm.broker.plugin.MbXML

public class MbXML
extends Object

This class contains constants for the generic XML parser. The integer constants are the specific type values used by the logical tree to represent XML specific constructs in the bitstream.

Field Index
Field Description
ASIS_ELEMENT_CONTENT  
ATTRIBUTE This is the specific type value for an XML attribute.
ATTRIBUTE_DEF  
ATTRIBUTE_DEF_DEFAULT_TYPE  
ATTRIBUTE_DEF_TYPE  
ATTRIBUTE_DEF_VALUE  
ATTRIBUTE_LIST  
BITSTREAM  
CDATA_SECTION This is the specific type value for an XML CDATA section
COMMENT This is the specific type value for an XML comment.
DOC_TYPE_DECL This is the specific type value for an XML document type declaration.
DOC_TYPE_WHITESPACE  
DOCTYPE_COMMENT  
DOCTYPE_PI  
ELEMENT This is the specific type value for an XML element.
ELEMENT_CONTENT This is the specific type value for an XML text node (the element context).
ELEMENT_DEF  
ENCODING  
ENTITY_DECL  
ENTITY_DECL_VALUE  
ENTITY_REFERENCE_END  
ENTITY_REFERENCE_START  
ENTITY_VALUE  
EXT_SUBSET  
EXTERNAL_ENTITY_DECL  
EXTERNAL_PARAMETER_ENTITY_DECL  
INT_SUBSET  
NOTATION_DECL  
NOTATION_REFERENCE  
PARAMETER_ENTITY_DECL  
PARSER_NAME The is the name of the parser as used by createElementAsLastChild
PARSER_ROOT This is the specific type value for the XML root node.
PROCESSING_INSTRUCTION This is the specific type value for an XML processing instruction.
PUBLIC_ID  
REQUESTED_DOMAIN_TYPE  
ROOT_ELEMENT_NAME This is the name of the element at the root of the sub-tree owned by this parser.
STANDALONE  
SYSTEM_ID  
UNPARSED_ENTITY_DECL  
VERSION  
WHITESPACE  
XML_DECL This is the specific type value for an XML declaration element.
Constructor Index
Constructor Description
MbXML()  

Fields

ASIS_ELEMENT_CONTENT

public static final int ASIS_ELEMENT_CONTENT

ATTRIBUTE

public static final int ATTRIBUTE

This is the specific type value for an XML attribute. It is generic type 'NAME/VALUE', where the name is the attribute name and (String) value is the attribute value. For example,

ref2 = ref.createElementAsLastChild(MbXML.ELEMENT, "abc", null);
ref2.createElementAsLastChild(MbXML.ATTRIBUTE, "ijk", "xyz");

will create the following XML sub-tree:

<abc ijk="xyz"/>

ATTRIBUTE_DEF

public static final int ATTRIBUTE_DEF

ATTRIBUTE_DEF_DEFAULT_TYPE

public static final int ATTRIBUTE_DEF_DEFAULT_TYPE

ATTRIBUTE_DEF_TYPE

public static final int ATTRIBUTE_DEF_TYPE

ATTRIBUTE_DEF_VALUE

public static final int ATTRIBUTE_DEF_VALUE

ATTRIBUTE_LIST

public static final int ATTRIBUTE_LIST

BITSTREAM

public static final int BITSTREAM

CDATA_SECTION

public static final int CDATA_SECTION

This is the specific type value for an XML CDATA section

COMMENT

public static final int COMMENT

This is the specific type value for an XML comment. It is of generic type 'VALUE' so the name is ignored. For example,

ref.createElementAsLastChild(MbXML.COMMENT, null, "Coment text");

produces the XML sub-tree:

<!-- comment text -->

DOC_TYPE_DECL

public static final int DOC_TYPE_DECL

This is the specific type value for an XML document type declaration.

DOC_TYPE_WHITESPACE

public static final int DOC_TYPE_WHITESPACE

DOCTYPE_COMMENT

public static final int DOCTYPE_COMMENT

DOCTYPE_PI

public static final int DOCTYPE_PI

ELEMENT

public static final int ELEMENT

This is the specific type value for an XML element. It is generic type 'NAME', but setting the value for an element of this type will cause a child MbElement to be created of type MbXML.ELEMENT_CONTENT. For example,

ref.createElementAsLastChild(MbXML.ELEMENT, "abc", "xyz")

will create the following XML sub-tree:

<abc>xyz</abc>

ELEMENT_CONTENT

public static final int ELEMENT_CONTENT

This is the specific type value for an XML text node (the element context). It is generic type 'VALUE' so the name is ignored.

ELEMENT_DEF

public static final int ELEMENT_DEF

ENCODING

public static final int ENCODING

ENTITY_DECL

public static final int ENTITY_DECL

ENTITY_DECL_VALUE

public static final int ENTITY_DECL_VALUE

ENTITY_REFERENCE_END

public static final int ENTITY_REFERENCE_END

ENTITY_REFERENCE_START

public static final int ENTITY_REFERENCE_START

ENTITY_VALUE

public static final int ENTITY_VALUE

EXT_SUBSET

public static final int EXT_SUBSET

EXTERNAL_ENTITY_DECL

public static final int EXTERNAL_ENTITY_DECL

EXTERNAL_PARAMETER_ENTITY_DECL

public static final int EXTERNAL_PARAMETER_ENTITY_DECL

INT_SUBSET

public static final int INT_SUBSET

NOTATION_DECL

public static final int NOTATION_DECL

NOTATION_REFERENCE

public static final int NOTATION_REFERENCE

PARAMETER_ENTITY_DECL

public static final int PARAMETER_ENTITY_DECL

PARSER_NAME

public static final java.lang.String PARSER_NAME

The is the name of the parser as used by createElementAsLastChild

PARSER_ROOT

public static final int PARSER_ROOT

This is the specific type value for the XML root node. It is represented by the top level MbElement named 'XML' or 'XMLNS'.

PROCESSING_INSTRUCTION

public static final int PROCESSING_INSTRUCTION

This is the specific type value for an XML processing instruction. It is of generic type 'NAME/VALUE'. For example,

ref.createElementAsLastChild(MbXML.PROCESSING_INSTRUCTION, "target", "data");

will create the following XML sub-tree:

<? target data ?>

PUBLIC_ID

public static final int PUBLIC_ID

REQUESTED_DOMAIN_TYPE

public static final int REQUESTED_DOMAIN_TYPE

ROOT_ELEMENT_NAME

public static final java.lang.String ROOT_ELEMENT_NAME

This is the name of the element at the root of the sub-tree owned by this parser.

STANDALONE

public static final int STANDALONE

SYSTEM_ID

public static final int SYSTEM_ID

UNPARSED_ENTITY_DECL

public static final int UNPARSED_ENTITY_DECL

VERSION

public static final int VERSION

WHITESPACE

public static final int WHITESPACE

XML_DECL

public static final int XML_DECL

This is the specific type value for an XML declaration element.

Constructors

MbXML

public MbXML() 

Class Hierarchy All Classes All Fields and Methods