|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.query.mapping.xml.MappingNodeConstants
public final class MappingNodeConstants
Constants, property names, and property default values for
a MappingNode
.
Nested Class Summary | |
---|---|
static class |
MappingNodeConstants.Defaults
Default property values for node properties |
static class |
MappingNodeConstants.Properties
Property names for type-specific node properties. |
static class |
MappingNodeConstants.Tags
These are the String values to be used for XML document tags. |
Field Summary | |
---|---|
static java.lang.String |
ALL
Constant defining a target node type of "All". |
static java.lang.String |
ATTRIBUTE
Constant defining a target node type of "attribute". |
static java.lang.Integer |
CARDINALITY_UNBOUNDED
The value used to indicate an unbounded maximum cardinality |
static java.lang.String |
CARDINALITY_UNBOUNDED_STRING
|
static java.lang.String |
CHOICE
Constant defining a target node type of "choice". |
static java.lang.String |
COMMENT
Constant defining a target node type of "comment". |
static java.lang.String |
CRITERIA
Constant defining a target node type of "Criteria". |
static java.lang.String |
DEFAULT_NAMESPACE_PREFIX
This constant is merely used as a placeholder in the declaration of a default namespace in an XML doc instance. |
static java.lang.String |
ELEMENT
Constant defining a target node type of "element". |
static java.lang.String |
INSTANCES_NAMESPACE
The XML Schema namespace for instances - needed to make use of the "nil" attribute defined in that namespace, for nillable nodes |
static java.lang.String |
INSTANCES_NAMESPACE_PREFIX
Prefix of the XML Schema namespace for instances - needed to make use of the "nil" attribute defined in that namespace, for nillable nodes |
static java.lang.String |
NAMESPACE_DECLARATION_ATTRIBUTE_NAMESPACE
|
static Namespace |
NO_NAMESPACE
Defines a default namespace holder for the nodes with out any namespace declarations. |
static java.lang.String |
NO_TYPE
Default built-in type = no type info, which is an empty string |
static java.lang.String |
NORMALIZE_TEXT_COLLAPSE
|
static java.lang.String |
NORMALIZE_TEXT_PRESERVE
PRESERVE -No normalization is done, the value is not changed. |
static java.lang.String |
NORMALIZE_TEXT_REPLACE
|
static java.lang.String |
PATH_DELIM
Schema node path delimeter. |
static int |
SEARCH_DOWN
Indicates a search of a mapping document should be downward, DEPTH FIRST. |
static int |
SEARCH_DOWN_BREADTH_FIRST
Indicates a search of a mapping document should be downward, BREADTH FIRST. |
static int |
SEARCH_UP
Indicates a search of a mapping document should be upward. |
static java.lang.String |
SEQUENCE
Constant defining a target node type of "sequence". |
static java.lang.String |
SOURCE
Constant defining a target node type of "source". |
Method Summary | |
---|---|
static java.lang.Integer |
getPropertyInteger(java.lang.String property)
Convert a property String into one of the Integer property keys defined in MappingNodeConstants.Properties |
static java.lang.String |
getPropertyString(java.lang.Integer property)
Convert a property Integer into a String (suitable for an XML tag). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SEARCH_UP
MappingNode.findFirstNodeWithProperty(java.lang.Integer, java.lang.Object, com.metamatrix.query.mapping.xml.MappingNode, int)
public static final int SEARCH_DOWN
MappingNode.findFirstNodeWithProperty(java.lang.Integer, java.lang.Object, com.metamatrix.query.mapping.xml.MappingNode, int)
public static final int SEARCH_DOWN_BREADTH_FIRST
MappingNode.findFirstNodeWithProperty(java.lang.Integer, java.lang.Object, com.metamatrix.query.mapping.xml.MappingNode, int)
public static final java.lang.String PATH_DELIM
public static final java.lang.Integer CARDINALITY_UNBOUNDED
public static final java.lang.String CARDINALITY_UNBOUNDED_STRING
public static final java.lang.String ATTRIBUTE
public static final java.lang.String ELEMENT
public static final java.lang.String COMMENT
public static final java.lang.String SEQUENCE
public static final java.lang.String CHOICE
public static final java.lang.String ALL
public static final java.lang.String CRITERIA
public static final java.lang.String SOURCE
public static final Namespace NO_NAMESPACE
public static final java.lang.String DEFAULT_NAMESPACE_PREFIX
public static final java.lang.String INSTANCES_NAMESPACE_PREFIX
INSTANCES_NAMESPACE
,
Constant Field Valuespublic static final java.lang.String INSTANCES_NAMESPACE
INSTANCES_NAMESPACE_PREFIX
,
Constant Field Valuespublic static final java.lang.String NAMESPACE_DECLARATION_ATTRIBUTE_NAMESPACE
public static final java.lang.String NORMALIZE_TEXT_PRESERVE
public static final java.lang.String NORMALIZE_TEXT_REPLACE
public static final java.lang.String NORMALIZE_TEXT_COLLAPSE
public static final java.lang.String NO_TYPE
Method Detail |
---|
public static final java.lang.Integer getPropertyInteger(java.lang.String property)
MappingNodeConstants.Properties
property
- String representation of property
MappingNodeConstants.Properties
inner classgetPropertyString
public static final java.lang.String getPropertyString(java.lang.Integer property)
property
- one of the properties defined in the
MappingNodeConstants.Properties
inner class
getPropertyInteger
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |