com.metamatrix.query.processor.xml
Class NodeDescriptor

java.lang.Object
  extended by com.metamatrix.query.processor.xml.NodeDescriptor

public class NodeDescriptor
extends java.lang.Object

THis class contains the information of an element or an attribute.

Since:
4.3

Field Summary
static java.lang.String DEFAULT_NAMESPACE_URI
           
 
Constructor Summary
NodeDescriptor(java.lang.String name, java.lang.String qName, java.lang.String namespacePrefix, java.lang.String namespaceURI, java.util.Properties namespaceURIs, java.lang.String defaultValue, boolean isOptional, boolean isElement, java.lang.String textNormalizationMode, java.lang.Class runtimeType, java.lang.String docBuiltInType)
           
 
Method Summary
static NodeDescriptor createNillableNode()
           
static NodeDescriptor createNodeDescriptor(MappingAttribute attribute)
           
static NodeDescriptor createNodeDescriptor(MappingElement element)
           
static NodeDescriptor createNodeDescriptor(java.lang.String name, java.lang.String namespacePrefix, boolean isElement, java.lang.String defaultValue, java.util.Properties namespaceDeclarations, java.util.Properties parentNamespaceDeclarations, boolean isOptional, MappingNode node, java.lang.String textNormalizationMode)
           
static NodeDescriptor createNodeDescriptor(java.lang.String name, java.lang.String namespacePrefix, boolean isElement, java.lang.String defaultValue, java.util.Properties namespaceDeclarations, java.util.Properties parentNamespaceDeclarations, boolean isOptional, MappingNode node, java.lang.String textNormalizationMode, java.lang.Class runtimeType, java.lang.String docBuiltInType)
           
 java.lang.String getDefaultValue()
           
 java.lang.String getDocBuiltInType()
           
 java.lang.String getName()
           
 java.lang.String getNamespacePrefix()
           
 java.lang.String getNamespaceURI()
           
 java.util.Properties getNamespaceURIs()
           
 java.lang.String getQName()
           
 java.lang.Class getRuntimeType()
           
 java.lang.String getTextNormalizationMode()
           
 boolean isElement()
           
 boolean isOptional()
           
 void setTextNormalizationMode(java.lang.String textNormalizationMode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_NAMESPACE_URI

public static final java.lang.String DEFAULT_NAMESPACE_URI
See Also:
Constant Field Values
Constructor Detail

NodeDescriptor

public NodeDescriptor(java.lang.String name,
                      java.lang.String qName,
                      java.lang.String namespacePrefix,
                      java.lang.String namespaceURI,
                      java.util.Properties namespaceURIs,
                      java.lang.String defaultValue,
                      boolean isOptional,
                      boolean isElement,
                      java.lang.String textNormalizationMode,
                      java.lang.Class runtimeType,
                      java.lang.String docBuiltInType)
Method Detail

isOptional

public boolean isOptional()
Returns:
Returns the isOptional.
Since:
4.3

getName

public java.lang.String getName()
Returns:
Returns the name.
Since:
4.3

getNamespaceURI

public java.lang.String getNamespaceURI()
Returns:
Returns the namespaceURI.
Since:
4.3

getNamespaceURIs

public java.util.Properties getNamespaceURIs()
Returns:
Returns the namespaceURIs.
Since:
4.3

getQName

public java.lang.String getQName()
Returns:
Returns the qName.
Since:
4.3

isElement

public boolean isElement()
Returns:
Returns the isElement.
Since:
4.3

getDefaultValue

public java.lang.String getDefaultValue()
Returns:
Returns the defaultValue.
Since:
4.3

getNamespacePrefix

public java.lang.String getNamespacePrefix()
Returns:
Returns the namespacePrefix.
Since:
4.3

getTextNormalizationMode

public java.lang.String getTextNormalizationMode()
Returns:
Returns the textNormalizationMode.
Since:
4.3

setTextNormalizationMode

public void setTextNormalizationMode(java.lang.String textNormalizationMode)
Parameters:
textNormalizationMode - The textNormalizationMode to set.
Since:
4.3

getRuntimeType

public java.lang.Class getRuntimeType()

getDocBuiltInType

public java.lang.String getDocBuiltInType()

createNodeDescriptor

public static NodeDescriptor createNodeDescriptor(MappingElement element)

createNillableNode

public static NodeDescriptor createNillableNode()

createNodeDescriptor

public static NodeDescriptor createNodeDescriptor(MappingAttribute attribute)

createNodeDescriptor

public static NodeDescriptor createNodeDescriptor(java.lang.String name,
                                                  java.lang.String namespacePrefix,
                                                  boolean isElement,
                                                  java.lang.String defaultValue,
                                                  java.util.Properties namespaceDeclarations,
                                                  java.util.Properties parentNamespaceDeclarations,
                                                  boolean isOptional,
                                                  MappingNode node,
                                                  java.lang.String textNormalizationMode)
                                           throws MetaMatrixComponentException
Throws:
MetaMatrixComponentException

createNodeDescriptor

public static NodeDescriptor createNodeDescriptor(java.lang.String name,
                                                  java.lang.String namespacePrefix,
                                                  boolean isElement,
                                                  java.lang.String defaultValue,
                                                  java.util.Properties namespaceDeclarations,
                                                  java.util.Properties parentNamespaceDeclarations,
                                                  boolean isOptional,
                                                  MappingNode node,
                                                  java.lang.String textNormalizationMode,
                                                  java.lang.Class runtimeType,
                                                  java.lang.String docBuiltInType)
                                           throws MetaMatrixComponentException
Throws:
MetaMatrixComponentException


Copyright © 2009. All Rights Reserved.