Class Hierarchy All Classes All Fields and Methods

Class com.ibm.broker.plugin.MbXMLNSC

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

public class MbXMLNSC
extends Object

This class contains constants for the compact 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
ATTRIBUTE This is the specific type value for an XML attribute.
BITSTREAM  
CDATA_FIELD  
CDATA_VALUE  
COMMENT This is the specific type value for an XML comment.
DOCUMENT_TYPE This is the specific type value for an XML document type declaration.
DOUBLE_ATTRIBUTE This is simpilar to attribute, but will generate double quotes round the attribute value
DOUBLE_ENTITY  
ENTITY  
ENTITY_REFERENCE  
FIELD This is the specific type value for an optimized XML element containing a text value only.
FOLDER This is the specific type value for an XML element that contains more than just a text node (element content).
HYBRID_FIELD  
HYBRID_VALUE  
PARSER_NAME The is the name of the parser as used by createElementAsLastChild
PCDATA_FIELD  
PCDATA_VALUE  
PROCESSING_INSTRUCTION This is the specific type value for an XML processing instruction.
ROOT_ELEMENT_NAME This is the name of the element at the root of the sub-tree owned by this parser.
SINGLE_ATTRIBUTE This is the same as attribute.
SINGLE_ENTITY  
VALUE This is the specific type value for an XML text node (the element context).
XML_DECLARATION This is the specific type value for an XML declaration element.
Constructor Index
Constructor Description
MbXMLNSC()  

Fields

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(MbXMLNSC.FOLDER, "abc", null);
ref2.createElementAsLastChild(MbXMLNSC.ATTRIBUTE, "ijk", "xyz");

will create the following XML sub-tree:

<abc ijk='xyz'/>

BITSTREAM

public static final int BITSTREAM

CDATA_FIELD

public static final int CDATA_FIELD

CDATA_VALUE

public static final int CDATA_VALUE

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(MbXMLNSC.COMMENT, null, "Coment text");

produces the XML sub-tree:

<!-- comment text -->

DOCUMENT_TYPE

public static final int DOCUMENT_TYPE

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

DOUBLE_ATTRIBUTE

public static final int DOUBLE_ATTRIBUTE

This is simpilar to attribute, but will generate double quotes round the attribute value

DOUBLE_ENTITY

public static final int DOUBLE_ENTITY

ENTITY

public static final int ENTITY

ENTITY_REFERENCE

public static final int ENTITY_REFERENCE

FIELD

public static final int FIELD

This is the specific type value for an optimized XML element containing a text value only. For example,

ref.createElementAsLastChild(MbXMLNSC.FIELD, "abc", "xyz");

generates the following XML sub-tree:

<abc>xyz</abc>

FOLDER

public static final int FOLDER

This is the specific type value for an XML element that contains more than just a text node (element content). It is generic type 'NAME'

HYBRID_FIELD

public static final int HYBRID_FIELD

HYBRID_VALUE

public static final int HYBRID_VALUE

PARSER_NAME

public static final java.lang.String PARSER_NAME

The is the name of the parser as used by createElementAsLastChild

PCDATA_FIELD

public static final int PCDATA_FIELD

PCDATA_VALUE

public static final int PCDATA_VALUE

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(MbXMLNSC.PROCESSING_INSTRUCTION, "target", "data");

will create the following XML sub-tree:

<? target data ?>

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.

SINGLE_ATTRIBUTE

public static final int SINGLE_ATTRIBUTE

This is the same as attribute.

SINGLE_ENTITY

public static final int SINGLE_ENTITY

VALUE

public static final int VALUE

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

XML_DECLARATION

public static final int XML_DECLARATION

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

Constructors

MbXMLNSC

public MbXMLNSC() 

Class Hierarchy All Classes All Fields and Methods