|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.query.processor.xml.ProcessorInstruction
org.teiid.query.processor.xml.InitializeDocumentInstruction
public class InitializeDocumentInstruction
Should be the first instruction of any document. Initializes the encoding and formatting of a document in the XML results.
| Constructor Summary | |
|---|---|
InitializeDocumentInstruction()
Constructor for InitializeDocumentInstruction. |
|
InitializeDocumentInstruction(java.lang.String encoding,
boolean isFormatted)
Constructor for InitializeDocumentInstruction. |
|
| Method Summary | |
|---|---|
PlanNode |
getDescriptionProperties()
|
org.teiid.query.processor.xml.XMLContext |
process(XMLProcessorEnvironment env,
org.teiid.query.processor.xml.XMLContext context)
Allow this ProcessorInstruction to do whatever processing it needs, and to in turn manipulate the running program. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InitializeDocumentInstruction()
public InitializeDocumentInstruction(java.lang.String encoding,
boolean isFormatted)
encoding - The encoding of the XML results docisFormatted - true means human-readable form, false means
compacted machine-readable form| Method Detail |
|---|
public org.teiid.query.processor.xml.XMLContext process(XMLProcessorEnvironment env,
org.teiid.query.processor.xml.XMLContext context)
throws BlockedException,
TeiidComponentException,
TeiidProcessingException
ProcessorInstructionincrement
the program counter of the current program, but specialized instructions may add
sub programs to the stack or not increment the counter (so that they are
executed again.)
process in class ProcessorInstructionenv - instance of ProcessorEnvironment which is being used for the processing
of the XML document model query
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 modelProcessorInstruction#getCapabilities(ProcessorEnvironment, DocumentInProgress)public java.lang.String toString()
toString in class java.lang.Objectpublic PlanNode getDescriptionProperties()
getDescriptionProperties in class ProcessorInstruction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||