org.teiid.query.processor.xml
Class AddNodeInstruction
java.lang.Object
org.teiid.query.processor.xml.ProcessorInstruction
org.teiid.query.processor.xml.AddNodeInstruction
public class AddNodeInstruction
- extends ProcessorInstruction
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ELEMENT
public static final boolean ELEMENT
- See Also:
- Constant Field Values
ATTRIBUTE
public static final boolean ATTRIBUTE
- See Also:
- Constant Field Values
AddNodeInstruction
public AddNodeInstruction(NodeDescriptor descriptor)
- Constructor for AddElementInstruction.
- Parameters:
tag - Tag namenamespacePrefix - String prefix that maps to a namespace (optional, may be null)isElement - indicates an element or an attributefixedValue - namespaceDeclarations - isOptional -
AddNodeInstruction
public AddNodeInstruction(NodeDescriptor descriptor,
ElementSymbol symbol)
- Constructor for AddElementInstruction.
- Parameters:
tag - Tag namenamespacePrefix - String prefix that maps to a namespace (optional, may be null)isElement - indicates an element or an attributeresultSetName - resultSetColumn - type - defaultValue - namespaceDeclarations - isOptional -
process
public org.teiid.query.processor.xml.XMLContext process(XMLProcessorEnvironment env,
org.teiid.query.processor.xml.XMLContext context)
throws BlockedException,
TeiidComponentException,
TeiidProcessingException
- Outputs an element or an attribute, or nothing, based on the state of the instruction.
- Specified by:
process in class ProcessorInstruction
- Parameters:
env - instance of ProcessorEnvironment which is being used for the processing
of the XML document model query
- Throws:
BlockedException - if data is not available now but may be at a later time
TeiidComponentException - for non-business exception
TeiidProcessingException - for business exception due to user input or model- See Also:
ProcessorInstruction#process(ProcessorEnvironment)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getDescriptionProperties
public PlanNode getDescriptionProperties()
- Specified by:
getDescriptionProperties in class ProcessorInstruction
setNillableDescriptor
public void setNillableDescriptor(NodeDescriptor nillableDescriptor)
- Parameters:
nillableDescriptor - The nillableDescriptor to set.- Since:
- 4.3
Copyright © 2010. All Rights Reserved.