com.sun.tools.xjc.generator.util
Class ExistingBlockReference

java.lang.Object
  extended by com.sun.tools.xjc.generator.util.ExistingBlockReference
All Implemented Interfaces:
BlockReference

public class ExistingBlockReference
extends Object
implements BlockReference

Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

Constructor Summary
ExistingBlockReference(JBlock _block)
           
 
Method Summary
 JBlock get(boolean create)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExistingBlockReference

public ExistingBlockReference(JBlock _block)
Method Detail

get

public JBlock get(boolean create)
Specified by:
get in interface BlockReference
Parameters:
create - If false, the method will return null if the block is not yet created.


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.