org.kite9.diagram.builders
Class TypeBuilder

java.lang.Object
  extended by org.kite9.diagram.builders.AbstractBuilder
      extended by org.kite9.diagram.builders.AbstractElementBuilder<Type>
          extended by org.kite9.diagram.builders.TypeBuilder

public class TypeBuilder
extends AbstractElementBuilder<Type>

This is a bit like a ClassBuilder, but handles generic types. This is useful for example when dealing with fields and method return types.

Author:
moffatr

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kite9.diagram.builders.AbstractElementBuilder
AbstractElementBuilder.ContentSelector<T,S>
 
Field Summary
 
Fields inherited from class org.kite9.diagram.builders.AbstractElementBuilder
ties
 
Fields inherited from class org.kite9.diagram.builders.AbstractBuilder
a, model, nf
 
Constructor Summary
TypeBuilder(List<Tie> ties2, ProjectModel model, Aliaser a)
           
 
Method Summary
 TypeBuilder reduce(Filter<? super Type> f)
          Creates a new element builder of the same type as the original, which only has ties matching the filter.
 TypeBuilder show(Format f)
           
 
Methods inherited from class org.kite9.diagram.builders.AbstractElementBuilder
getRepresented, getTieForRepresentation, reduceInner, withClasses, withPackages, withPackages, withStrings
 
Methods inherited from class org.kite9.diagram.builders.AbstractBuilder
createNewSubjectNounPart, createNoun, createTies, getCurrentClassLoader, getNounFactory, getUnderlyingSimpleNoun, packagesOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeBuilder

public TypeBuilder(List<Tie> ties2,
                   ProjectModel model,
                   Aliaser a)
Method Detail

reduce

public TypeBuilder reduce(Filter<? super Type> f)
Description copied from class: AbstractElementBuilder
Creates a new element builder of the same type as the original, which only has ties matching the filter.

Specified by:
reduce in class AbstractElementBuilder<Type>

show

public TypeBuilder show(Format f)
Overrides:
show in class AbstractElementBuilder<Type>


Copyright © 2011. All Rights Reserved.