Modifier and Type | Field and Description |
---|---|
static int |
ASIS_ELEMENT_CONTENT |
static int |
ATTRIBUTE
This is the specific type value for an XML attribute.
|
static int |
ATTRIBUTE_DEF |
static int |
ATTRIBUTE_DEF_DEFAULT_TYPE |
static int |
ATTRIBUTE_DEF_TYPE |
static int |
ATTRIBUTE_DEF_VALUE |
static int |
ATTRIBUTE_LIST |
static int |
BITSTREAM |
static int |
CDATA_SECTION
This is the specific type value for an XML CDATA section
|
static int |
COMMENT
This is the specific type value for an XML comment.
|
static int |
DOC_TYPE_DECL
This is the specific type value for an XML document type declaration.
|
static int |
DOC_TYPE_WHITESPACE |
static int |
DOCTYPE_COMMENT |
static int |
DOCTYPE_PI |
static int |
ELEMENT
This is the specific type value for an XML element.
|
static int |
ELEMENT_CONTENT
This is the specific type value for an XML text node (the element context).
|
static int |
ELEMENT_DEF |
static int |
ENCODING |
static int |
ENTITY_DECL |
static int |
ENTITY_DECL_VALUE |
static int |
ENTITY_REFERENCE_END |
static int |
ENTITY_REFERENCE_START |
static int |
ENTITY_VALUE |
static int |
EXT_SUBSET |
static int |
EXTERNAL_ENTITY_DECL |
static int |
EXTERNAL_PARAMETER_ENTITY_DECL |
static int |
INT_SUBSET |
static int |
NOTATION_DECL |
static int |
NOTATION_REFERENCE |
static int |
PARAMETER_ENTITY_DECL |
static String |
PARSER_NAME
The is the name of the parser as used by
createElementAsLastChild() |
static int |
PARSER_ROOT
This is the specific type value for the XML root node.
|
static int |
PROCESSING_INSTRUCTION
This is the specific type value for an XML processing instruction.
|
static int |
PUBLIC_ID |
static int |
REQUESTED_DOMAIN_TYPE |
static String |
ROOT_ELEMENT_NAME
This is the name of the element at the root of the sub-tree owned by this parser.
|
static int |
STANDALONE |
static int |
SYSTEM_ID |
static int |
UNPARSED_ENTITY_DECL |
static int |
VERSION |
static int |
WHITESPACE |
static int |
XML_DECL
This is the specific type value for an XML declaration element.
|
Constructor and Description |
---|
MbXML() |
public static final String PARSER_NAME
createElementAsLastChild()
public static final String ROOT_ELEMENT_NAME
public static final int ELEMENT
ref.createElementAsLastChild(MbXML.ELEMENT, "abc", "xyz")
<abc>xyz</abc>
public static final int UNPARSED_ENTITY_DECL
public static final int NOTATION_DECL
public static final int PARSER_ROOT
public static final int ENTITY_DECL
public static final int PARAMETER_ENTITY_DECL
public static final int EXTERNAL_ENTITY_DECL
public static final int XML_DECL
public static final int DOC_TYPE_DECL
public static final int INT_SUBSET
public static final int EXT_SUBSET
public static final int ATTRIBUTE_LIST
public static final int ATTRIBUTE_DEF
public static final int EXTERNAL_PARAMETER_ENTITY_DECL
public static final int ATTRIBUTE
ref2 = ref.createElementAsLastChild(MbXML.ELEMENT, "abc", null);
ref2.createElementAsLastChild(MbXML.ATTRIBUTE, "ijk", "xyz");
will create the following XML sub-tree:
<abc ijk="xyz"/>
public static final int BITSTREAM
public static final int PROCESSING_INSTRUCTION
ref.createElementAsLastChild(MbXML.PROCESSING_INSTRUCTION, "target", "data");
will create the following XML sub-tree:
<? target data ?>
public static final int ELEMENT_DEF
public static final int DOCTYPE_PI
public static final int ATTRIBUTE_DEF_TYPE
public static final int REQUESTED_DOMAIN_TYPE
public static final int ELEMENT_CONTENT
public static final int CDATA_SECTION
public static final int WHITESPACE
public static final int PUBLIC_ID
public static final int SYSTEM_ID
public static final int NOTATION_REFERENCE
public static final int VERSION
public static final int ENCODING
public static final int STANDALONE
public static final int COMMENT
ref.createElementAsLastChild(MbXML.COMMENT, null, "Coment text");
produces the XML sub-tree:
<!-- comment text -->
public static final int ENTITY_REFERENCE_START
public static final int ENTITY_REFERENCE_END
public static final int DOCTYPE_COMMENT
public static final int ENTITY_VALUE
public static final int ASIS_ELEMENT_CONTENT
public static final int ENTITY_DECL_VALUE
public static final int ATTRIBUTE_DEF_VALUE
public static final int ATTRIBUTE_DEF_DEFAULT_TYPE
public static final int DOC_TYPE_WHITESPACE