public enum NodeTypeType extends Enum<NodeTypeType>
Java class for nodeTypeType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="nodeTypeType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="keep"/>
<enumeration value="element"/>
<enumeration value="attribute"/>
<enumeration value="processing-instruction"/>
<enumeration value="pi"/>
<enumeration value="comment"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ATTRIBUTE
The node to be added will be an attribute.
|
COMMENT
The node to be added will be a comment.
|
ELEMENT
The node to be added will be an element.
|
KEEP
The node type of the node to be added will be defined by the anchor node.
|
PI
The short notation of "processing-instruction".
|
PROCESSING_INSTRUCTION
The node to be added will be a processing instruction.
|
| Modifier and Type | Method and Description |
|---|---|
static NodeTypeType |
fromValue(String v) |
String |
value() |
static NodeTypeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeTypeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeTypeType KEEP
public static final NodeTypeType ELEMENT
public static final NodeTypeType ATTRIBUTE
<?xml version="1.0" encoding="UTF-8"?><icode xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:sqf="http://www.schematron-quickfix.com/validator/process" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" type="attribute">position</icode>attribute should not be set.
public static final NodeTypeType PROCESSING_INSTRUCTION
public static final NodeTypeType PI
public static final NodeTypeType COMMENT
<?xml version="1.0" encoding="UTF-8"?><icode xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:sqf="http://www.schematron-quickfix.com/validator/process" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" type="attribute">node-type</icode>attribute is
<?xml version="1.0" encoding="UTF-8"?><icode xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:sqf="http://www.schematron-quickfix.com/validator/process" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" type="attributeValue">comment</icode>, the activity element should not have a
<?xml version="1.0" encoding="UTF-8"?><icode xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:sqf="http://www.schematron-quickfix.com/validator/process" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" type="attribute">target</icode>attribute.
public static NodeTypeType[] values()
for (NodeTypeType c : NodeTypeType.values()) System.out.println(c);
public static NodeTypeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static NodeTypeType fromValue(String v)
Copyright © 2023 NorStella. All rights reserved.