Package net.sourceforge.plantuml.baraye
Class EntityFactory
- java.lang.Object
-
- net.sourceforge.plantuml.baraye.EntityFactory
-
- All Implemented Interfaces:
IEntityFactory
public final class EntityFactory extends java.lang.Object implements IEntityFactory
-
-
Field Summary
Fields Modifier and Type Field Description java.util.Map<Ident,IGroup>groups2java.util.Map<Ident,ILeaf>leafs2CucaDiagramnamespaceSeparator
-
Constructor Summary
Constructors Constructor Description EntityFactory(java.util.List<HideOrShow2> hides2, java.util.List<HideOrShow2> removed, CucaDiagram namespaceSeparator)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddGroup(IGroup group)voidaddLeaf(ILeaf entity)voidaddLink(Link link)static voidbigError()IdentbuildFullyQualified(Ident currentPath, Ident id)IGroupcreateGroup(Ident ident, Code code, Display display, Code namespace, GroupType groupType, IGroup parentContainer, java.util.Set<VisibilityModifier> hides, java.lang.String namespaceSeparator)ILeafcreateLeaf(Ident ident, Code code, Display display, LeafType entityType, IGroup parentContainer, java.util.Set<VisibilityModifier> hides, java.lang.String namespaceSeparator)ILeafcreateLeafForEmptyGroup(IGroup g, ISkinParam skinParam)CucaDiagramgetDiagram()IGroupgetGroup(Code code)IGroupgetGroupStrict(Ident ident)IGroupgetGroupVerySmart(Ident ident)DisplaygetIntricatedDisplay(Ident ident)ILeafgetLeaf(Code code)ILeafgetLeafForEmptyGroup(IGroup g)ILeafgetLeafSmart(Ident ident)ILeafgetLeafStrict(Ident ident)ILeafgetLeafVerySmart(Ident ident)java.util.List<Link>getLinks()IGroupgetParentContainer(Ident ident, IGroup parentContainer)IGroupgetRootGroup()java.util.Collection<IGroup>groups()java.util.Collection<IGroup>groups2()voidincRawLayout()booleanisHidden(ILeaf leaf)IGroupisIntricated(IGroup parent)booleanisRemoved(ILeaf leaf)booleanisRemoved(Stereotype stereotype)booleanisRemovedIgnoreUnlinked(ILeaf leaf)java.util.Collection<ILeaf>leafs()java.util.Collection<ILeaf>leafs2()IGroupmuteToGroup(java.lang.String name, Code namespace, GroupType type, IGroup parent)IGroupmuteToGroup1972(Ident ident, Code namespace, GroupType type, IGroup parent)voidremoveGroup(java.lang.String name)voidremoveGroup(Ident ident)voidremoveLeaf(java.lang.String name)voidremoveLeaf(Ident ident)voidremoveLink(Link link)
-
-
-
Field Detail
-
namespaceSeparator
public final CucaDiagram namespaceSeparator
-
-
Constructor Detail
-
EntityFactory
public EntityFactory(java.util.List<HideOrShow2> hides2, java.util.List<HideOrShow2> removed, CucaDiagram namespaceSeparator)
-
-
Method Detail
-
createLeafForEmptyGroup
public ILeaf createLeafForEmptyGroup(IGroup g, ISkinParam skinParam)
-
isHidden
public boolean isHidden(ILeaf leaf)
-
isRemoved
public boolean isRemoved(Stereotype stereotype)
- Specified by:
isRemovedin interfaceIEntityFactory
-
isRemoved
public boolean isRemoved(ILeaf leaf)
-
isRemovedIgnoreUnlinked
public boolean isRemovedIgnoreUnlinked(ILeaf leaf)
-
createLeaf
public ILeaf createLeaf(Ident ident, Code code, Display display, LeafType entityType, IGroup parentContainer, java.util.Set<VisibilityModifier> hides, java.lang.String namespaceSeparator)
-
createGroup
public IGroup createGroup(Ident ident, Code code, Display display, Code namespace, GroupType groupType, IGroup parentContainer, java.util.Set<VisibilityModifier> hides, java.lang.String namespaceSeparator)
-
addLeaf
public void addLeaf(ILeaf entity)
-
addGroup
public void addGroup(IGroup group)
-
removeGroup
public void removeGroup(java.lang.String name)
-
removeGroup
public void removeGroup(Ident ident)
-
bigError
public static void bigError()
-
removeLeaf
public void removeLeaf(java.lang.String name)
-
removeLeaf
public void removeLeaf(Ident ident)
-
muteToGroup
public IGroup muteToGroup(java.lang.String name, Code namespace, GroupType type, IGroup parent)
-
muteToGroup1972
public IGroup muteToGroup1972(Ident ident, Code namespace, GroupType type, IGroup parent)
-
getRootGroup
public IGroup getRootGroup()
-
leafs
public final java.util.Collection<ILeaf> leafs()
- Specified by:
leafsin interfaceIEntityFactory
-
groups
public final java.util.Collection<IGroup> groups()
-
groups2
public final java.util.Collection<IGroup> groups2()
-
leafs2
public final java.util.Collection<ILeaf> leafs2()
-
incRawLayout
public void incRawLayout()
-
getLinks
public final java.util.List<Link> getLinks()
-
addLink
public void addLink(Link link)
-
removeLink
public void removeLink(Link link)
-
getDiagram
public CucaDiagram getDiagram()
-
-