com.metamatrix.query.mapping.xml
Class MappingChoiceNode
java.lang.Object
com.metamatrix.query.mapping.xml.MappingNode
com.metamatrix.query.mapping.xml.MappingBaseNode
com.metamatrix.query.mapping.xml.MappingChoiceNode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class MappingChoiceNode
- extends MappingBaseNode
Node that describes a choice node in an XML Scheam Mapping document
This allows only the criteria nodes to be added to choice node.
- See Also:
- Serialized Form
Methods inherited from class com.metamatrix.query.mapping.xml.MappingBaseNode |
addStagingTable, getCanonicalName, getDocument, getMaxOccurence, getMinOccurence, getName, getParentNode, getRecursionId, getSource, getStagingTables, isDocumentNode, isRootRecursiveNode, isTagRoot, removeChildNode, setMaxOccurrs, setMinOccurrs, setSource, setStagingTables |
Methods inherited from class com.metamatrix.query.mapping.xml.MappingNode |
addChild, equals, findNode, getChildren, getChildren, getFullyQualifiedName, getNameInSource, getNodeChildren, getNodeProperties, getParent, getPathName, getProperty, getSourceNode, hashCode, isExcluded, printMappingNodeTree, setExclude, toString, toStringNodeTree |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
MappingChoiceNode
public MappingChoiceNode()
MappingChoiceNode
public MappingChoiceNode(boolean exceptionOnDefault)
acceptVisitor
public void acceptVisitor(MappingVisitor visitor)
- Specified by:
acceptVisitor
in class MappingNode
addCriteriaNode
public MappingCriteriaNode addCriteriaNode(MappingCriteriaNode node)
- Adds the Element Node to the current Element node and returns the
child node added to the current node.
- Overrides:
addCriteriaNode
in class MappingBaseNode
getDefaultNode
public MappingCriteriaNode getDefaultNode()
throwExceptionOnDefault
public boolean throwExceptionOnDefault()
addAllNode
public MappingAllNode addAllNode(MappingAllNode elem)
- Overrides:
addAllNode
in class MappingBaseNode
addChoiceNode
public MappingChoiceNode addChoiceNode(MappingChoiceNode elem)
- Overrides:
addChoiceNode
in class MappingBaseNode
addSequenceNode
public MappingSequenceNode addSequenceNode(MappingSequenceNode elem)
- Overrides:
addSequenceNode
in class MappingBaseNode
addChildElement
public MappingElement addChildElement(MappingElement elem)
- Overrides:
addChildElement
in class MappingBaseNode
addSourceNode
public MappingSourceNode addSourceNode(MappingSourceNode elem)
- Overrides:
addSourceNode
in class MappingBaseNode
Copyright © 2009. All Rights Reserved.