org.teiid.query.sql.symbol
Class XMLSerialize

java.lang.Object
  extended by org.teiid.query.sql.symbol.XMLSerialize
All Implemented Interfaces:
java.lang.Cloneable, LanguageObject, Expression

public class XMLSerialize
extends java.lang.Object
implements Expression


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.teiid.query.sql.LanguageObject
LanguageObject.Util
 
Constructor Summary
XMLSerialize()
           
 
Method Summary
 void acceptVisitor(LanguageVisitor visitor)
          Method for accepting a visitor.
 XMLSerialize clone()
          Implement clone to make objects cloneable.
 boolean equals(java.lang.Object obj)
           
 Expression getExpression()
           
 java.lang.Class<?> getType()
          Get the return type of this expression.
 java.lang.String getTypeString()
           
 int hashCode()
           
 java.lang.Boolean isDocument()
           
 boolean isResolved()
          Return true if expression has been fully resolved.
 void setDocument(java.lang.Boolean document)
           
 void setExpression(Expression expression)
           
 void setTypeString(java.lang.String typeString)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLSerialize

public XMLSerialize()
Method Detail

getType

public java.lang.Class<?> getType()
Description copied from interface: Expression
Get the return type of this expression. This method will not necessarily work right before resolution (Expression.isResolved() returns true).

Specified by:
getType in interface Expression
Returns:
Java class name

getExpression

public Expression getExpression()

isDocument

public java.lang.Boolean isDocument()

setDocument

public void setDocument(java.lang.Boolean document)

setExpression

public void setExpression(Expression expression)

setTypeString

public void setTypeString(java.lang.String typeString)

getTypeString

public java.lang.String getTypeString()

isResolved

public boolean isResolved()
Description copied from interface: Expression
Return true if expression has been fully resolved. Typically the QueryResolver component will handle resolution of an expression.

Specified by:
isResolved in interface Expression
Returns:
True if resolved

acceptVisitor

public void acceptVisitor(LanguageVisitor visitor)
Description copied from interface: LanguageObject
Method for accepting a visitor. It is the responsibility of the language object to call back on the visitor.

Specified by:
acceptVisitor in interface LanguageObject
Parameters:
visitor - Visitor being used

clone

public XMLSerialize clone()
Description copied from interface: LanguageObject
Implement clone to make objects cloneable.

Specified by:
clone in interface LanguageObject
Overrides:
clone in class java.lang.Object
Returns:
Deep clone of this object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010. All Rights Reserved.