Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.javatools.db.ddl
Class TokenGenerator

java.lang.Object
  extended by oracle.javatools.db.ddl.TokenGenerator

Direct Known Subclasses:
DefaultTokenGenerator, TokenGenerator.CascadeGenerator, TokenGenerator.CommentGenerator, TokenGenerator.NameGenerator, TokenGenerator.ReplaceGenerator

public abstract class TokenGenerator
extends java.lang.Object

Nested Class Summary
static class TokenGenerator.CascadeGenerator
          {generate}
static class TokenGenerator.CommentGenerator
          {quotedComment}
static class TokenGenerator.NameGenerator
          {schema.name}
static class TokenGenerator.ReplaceGenerator
          {replace}

 

Constructor Summary
TokenGenerator()
           

 

Method Summary
abstract  java.lang.Object evaluateToken(TokenContext context)
          Evaluates the token as an Object - used by [{token} PRINT THIS] type syntax where the returned result will be used to evaulate an if or for construct.
abstract  void generateToken(TokenContext context)
          Generates the token in to the context - i.e.
protected  oracle.javatools.db.ddl.TokenProcessor getProcessor()
           
 java.util.Collection<java.lang.String> getPropertiesAltered(java.lang.String type, DBObjectProvider pro)
          Returns the property names that are supported for alter by this TokenGenerator.
 java.util.Collection<java.lang.String> getPropertiesProcessed(java.lang.String type, DBObjectProvider pro)
          Returns the property names that are processed by this TokenGenerator.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

TokenGenerator

public TokenGenerator()

Method Detail

generateToken

public abstract void generateToken(TokenContext context)
Generates the token in to the context - i.e. evaluates the token and appends the result to the context buffer.

evaluateToken

public abstract java.lang.Object evaluateToken(TokenContext context)
Evaluates the token as an Object - used by [{token} PRINT THIS] type syntax where the returned result will be used to evaulate an if or for construct.

getPropertiesProcessed

public java.util.Collection<java.lang.String> getPropertiesProcessed(java.lang.String type,
                                                                     DBObjectProvider pro)
Returns the property names that are processed by this TokenGenerator. By default an empty list is returned. DO NOT return null.

getPropertiesAltered

public java.util.Collection<java.lang.String> getPropertiesAltered(java.lang.String type,
                                                                   DBObjectProvider pro)
Returns the property names that are supported for alter by this TokenGenerator. By default an empty list is returned. DO NOT return null.

getProcessor

protected final oracle.javatools.db.ddl.TokenProcessor getProcessor()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.