Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.javatools.db.ddl
Class DefaultTokenGenerator

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


public class DefaultTokenGenerator
extends TokenGenerator

A default token generator is constructed using a piece of "token code" and that is processed by the parent processor to generate the appropriate ddl.

Since:
11

Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.javatools.db.ddl.TokenGenerator
TokenGenerator.CascadeGenerator, TokenGenerator.NameGenerator, TokenGenerator.ReplaceGenerator

 

Constructor Summary
DefaultTokenGenerator(java.lang.String code)
           

 

Method Summary
 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.
 void generateToken(TokenContext context)
          Generates the token in to the context - i.e.
 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 oracle.javatools.db.ddl.TokenGenerator
getProcessor

 

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

 

Constructor Detail

DefaultTokenGenerator

public DefaultTokenGenerator(java.lang.String code)

Method Detail

evaluateToken

public java.lang.Object evaluateToken(TokenContext context)
Description copied from class: TokenGenerator
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.
Specified by:
evaluateToken in class TokenGenerator

generateToken

public void generateToken(TokenContext context)
Description copied from class: TokenGenerator
Generates the token in to the context - i.e. evaluates the token and appends the result to the context buffer.
Specified by:
generateToken in class TokenGenerator

getPropertiesProcessed

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

getPropertiesAltered

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

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


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