org.jbind.xml.schema.compiler
Class BehaviourInterfaceCartridge

java.lang.Object
  extended byorg.jbind.xml.schema.cmp.ComponentVisitor
      extended byorg.jbind.xml.schema.compiler.AbstractCartridge
          extended byorg.jbind.xml.schema.compiler.BaseCartridge
              extended byorg.jbind.xml.schema.compiler.BehaviourCartridge
                  extended byorg.jbind.xml.schema.compiler.BehaviourInterfaceCartridge
All Implemented Interfaces:
IBinder, ICartridge, IComponentVisitor

public class BehaviourInterfaceCartridge
extends BehaviourCartridge


Constructor Summary
BehaviourInterfaceCartridge()
           
 
Method Summary
 IBinding createBuiltInBinding(IComponent aComponent)
           
protected  java.lang.String getDeclaration(IAnyType aType)
           
 java.lang.String getNameForPackage(IComponent aComponent, java.lang.String aPackage)
          Gets the name of a component when referenced from a specified package.
 java.lang.String getUsableFqName(IComponent aComponent)
           
 java.lang.String interfaceOrClass()
           
 
Methods inherited from class org.jbind.xml.schema.compiler.BehaviourCartridge
createGlobalAnyTypeBinding, createGlobalAttrDeclBinding, createGlobalAttrGroupBinding, createGlobalElemDeclBinding, createGlobalGroupDeclBinding, createInnerAnyTypeBinding, createInnerAttrDeclBinding, createInnerAttrGroupBinding, createInnerAttrRefBinding, createInnerAttrWildcardBinding, createInnerElemDeclBinding, createInnerElemRefBinding, createInnerElemWildcardBinding, createInnerGroupRefOrDeclBinding, doVisitAnyTypeEnd, doVisitAnyTypeStart, getEditHint, isUpToDate, overwrite
 
Methods inherited from class org.jbind.xml.schema.compiler.BaseCartridge
addIndent, behaviourBaseClass, doVisitAttrDescEnd, doVisitAttrDescStart, doVisitAttrGroupDescEnd, doVisitAttrGroupDescStart, doVisitElemDescEnd, doVisitElemDescStart, doVisitElemGroupDescEnd, doVisitElemGroupDescStart, generate, getBehaviourClassCartridge, getBehaviourInterfaceCartridge, getDataClassCartridge, getDataInterfaceCartridge, getNamePrefix, getNameSuffix, initCartridge, removeIndent, setNotEmpty, setOuterComponent, staticOrPublic, writeLn, writeMultiLn
 
Methods inherited from class org.jbind.xml.schema.compiler.AbstractCartridge
constant, getBinding, getCartridgeNo, getInnerName, getSubPackage, setCartridgeNo
 
Methods inherited from class org.jbind.xml.schema.cmp.ComponentVisitor
doAfterVisit, doBeforeVisit, doVisitAllDeclEnd, doVisitAllDeclStart, doVisitAllDescEnd, doVisitAllDescStart, doVisitAllRefEnd, doVisitAllRefStart, doVisitAnySimpleTypeEnd, doVisitAnySimpleTypeStart, doVisitAtomicTypeEnd, doVisitAtomicTypeStart, doVisitAttrDeclEnd, doVisitAttrDeclStart, doVisitAttrGroupDeclEnd, doVisitAttrGroupDeclStart, doVisitAttrGroupRefEnd, doVisitAttrGroupRefStart, doVisitAttrRefEnd, doVisitAttrRefOrDeclEnd, doVisitAttrRefOrDeclStart, doVisitAttrRefStart, doVisitAttrWildcardEnd, doVisitAttrWildcardStart, doVisitChoiceDeclEnd, doVisitChoiceDeclStart, doVisitChoiceDescEnd, doVisitChoiceDescStart, doVisitChoiceRefEnd, doVisitChoiceRefStart, doVisitComplexTypeEnd, doVisitComplexTypeStart, doVisitComponentEnd, doVisitComponentStart, doVisitContentDescEnd, doVisitContentDescStart, doVisitElemDeclEnd, doVisitElemDeclStart, doVisitElemRefEnd, doVisitElemRefOrDeclEnd, doVisitElemRefOrDeclStart, doVisitElemRefStart, doVisitElemWildcardEnd, doVisitElemWildcardStart, doVisitListTypeEnd, doVisitListTypeStart, doVisitNotationEnd, doVisitNotationStart, doVisitSequenceDeclEnd, doVisitSequenceDeclStart, doVisitSequenceDescEnd, doVisitSequenceDescStart, doVisitSequenceRefEnd, doVisitSequenceRefStart, doVisitUnionTypeEnd, doVisitUnionTypeStart, shallVisitSubComponents, visitAllDeclEnd, visitAllDeclStart, visitAllRefEnd, visitAllRefStart, visitAnySimpleTypeEnd, visitAnySimpleTypeStart, visitAnyTypeEnd, visitAnyTypeStart, visitAtomicTypeEnd, visitAtomicTypeStart, visitAttrDeclEnd, visitAttrDeclStart, visitAttrGroupDeclEnd, visitAttrGroupDeclStart, visitAttrGroupRefEnd, visitAttrGroupRefStart, visitAttrRefEnd, visitAttrRefStart, visitAttrWildcardEnd, visitAttrWildcardStart, visitChoiceDeclEnd, visitChoiceDeclStart, visitChoiceRefEnd, visitChoiceRefStart, visitComplexTypeEnd, visitComplexTypeStart, visitElemDeclEnd, visitElemDeclStart, visitElemRefEnd, visitElemRefStart, visitElemWildcardEnd, visitElemWildcardStart, visitListTypeEnd, visitListTypeStart, visitNotationEnd, visitNotationStart, visitSequenceDeclEnd, visitSequenceDeclStart, visitSequenceRefEnd, visitSequenceRefStart, visitUnionTypeEnd, visitUnionTypeStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jbind.xml.core.cmp.IComponentVisitor
shallVisitSubComponents, visitAllDeclEnd, visitAllDeclStart, visitAllRefEnd, visitAllRefStart, visitAnySimpleTypeEnd, visitAnySimpleTypeStart, visitAnyTypeEnd, visitAnyTypeStart, visitAtomicTypeEnd, visitAtomicTypeStart, visitAttrDeclEnd, visitAttrDeclStart, visitAttrGroupDeclEnd, visitAttrGroupDeclStart, visitAttrGroupRefEnd, visitAttrGroupRefStart, visitAttrRefEnd, visitAttrRefStart, visitAttrWildcardEnd, visitAttrWildcardStart, visitChoiceDeclEnd, visitChoiceDeclStart, visitChoiceRefEnd, visitChoiceRefStart, visitComplexTypeEnd, visitComplexTypeStart, visitElemDeclEnd, visitElemDeclStart, visitElemRefEnd, visitElemRefStart, visitElemWildcardEnd, visitElemWildcardStart, visitListTypeEnd, visitListTypeStart, visitNotationEnd, visitNotationStart, visitSequenceDeclEnd, visitSequenceDeclStart, visitSequenceRefEnd, visitSequenceRefStart, visitUnionTypeEnd, visitUnionTypeStart
 

Constructor Detail

BehaviourInterfaceCartridge

public BehaviourInterfaceCartridge()
Method Detail

getDeclaration

protected java.lang.String getDeclaration(IAnyType aType)
Specified by:
getDeclaration in class BehaviourCartridge

createBuiltInBinding

public IBinding createBuiltInBinding(IComponent aComponent)

getUsableFqName

public java.lang.String getUsableFqName(IComponent aComponent)
Specified by:
getUsableFqName in interface ICartridge
Overrides:
getUsableFqName in class AbstractCartridge

getNameForPackage

public java.lang.String getNameForPackage(IComponent aComponent,
                                          java.lang.String aPackage)
Description copied from interface: ICartridge
Gets the name of a component when referenced from a specified package. If a component is referenced from the same package it belongs to then only the name is returned otherwise the fully qualified name.

Specified by:
getNameForPackage in interface ICartridge
Overrides:
getNameForPackage in class AbstractCartridge

interfaceOrClass

public java.lang.String interfaceOrClass()
Specified by:
interfaceOrClass in class BaseCartridge