Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.util.Map
Map.Chain
Field Summary
Fields
Fields inherited from class de.grogra.graph.impl.Node
ADDITIONAL_FIELDS , bits , DELETED , EXTENT_BIT , EXTENT_MASK , extentIndex$FIELD , extentTail$FIELD , HAS_OBSERVERS , IS_INTERPRETIVE , isInterpretive$FIELD , LAST_EXTENT_INDEX , layer$FIELD , MARK , mark$FIELD , MAX_RESOLUTION , MIME_TYPE , MIN_RESOLUTION , MIN_UNUSED_SPECIAL_OF_SOURCE , MIN_UNUSED_SPECIAL_OF_TARGET , name$FIELD , RESOLUTION_BIT , RESOLUTION_MASK , resolution$FIELD , USED_BITS
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
Reads an object from a given FilterSoruce.
Reads an object from url
.
This method returns the
Node.NType
which describes the managed
fields of the class of this node.
Reads an object from url
.
This method returns a new instance of the class of this
node.
Methods inherited from class de.grogra.pf.registry.Item
activate , activateImpl , add , add , addPluginPrerequisite , addPluginPrerequisites , addRequiredFiles , addUserItem , addUserItemWithUniqueName , addWithUniqueName , beginXA , classForName , commitXA , copy , deactivate , deactivateImpl , delete , deriveItems , dupUnmanagedFields , equals , findAll , findAll , findAll , findFirst , findFirst , findFirst , findMax , findMax , findMax , forAll , forAll , forAll , get , getAbsoluteName , getAccessor , getAccessor , getAttributes , getAttributes , getClassLoader , getDefaultDescription , getDefaultValue , getDerivedDescription , getDescription , getDescriptionImpl , getFromResource , getI18NBundle , getItem , getLock , getParentMap , getPath , getPluginDescriptor , getRegistry , getRoot , getSystemId , getTransaction , getUniqueName , getWriteLock , hasEditableOptions , initPluginDescriptor , isActivated , isDirectory , isEditable , isOptionCategory , isPluginItem , isUserItem , makeUserItem , paramString , remove , removeDerivedItems , resolveItem , resolveLink , set , setDefaultDescription , setDescription , setDescription , setDirectory , setName , setNameIfNull , setOption , substitute , validate
Methods inherited from class de.grogra.graph.impl.Node
addEdgeBitsTo , addReference , appendBranchNode , appendBranchNode , appendReferencesTo , clone , clone , cloneGraph , dump , dumpTree , dup , dupFrom , dupnew , edgeChanged , fieldModified , findAdjacent , findRefinementType , getAxisParent , getBoolean , getBranch , getBranchLength , getBranchNode , getBranchTail , getByte , getChar , getCommonAncestor , getCurrentGraphState , getDirectChildCount , getDouble , getEdgeAttributeAccessor , getEdgeAttributes , getEdgeBitsTo , getEdgeTo , getExtentIndex , getFirst , getFirstEdge , getFloat , getGraph , getId , getIgnored , getIndex , getInstantiator , getInt , getLayer , getLong , getManageableType , getName , getNeighbor , getNext , getNType , getObject , getOrCreateEdgeTo , getOrNull , getPersistenceManager , getPredecessor , getProvider , getResolution , getShort , getSource , getStamp , getSuccessor , getSymbol , getSymbolColor , getTarget , getTransaction , getUserField , getUserFieldCount , getXClass , getXData , hasName , initProvider , initXClass , insertBranchNode , insertBranchNode , instantiateGraph , isAncestorOf , isDirection , isEncoarseOf , isManagingInstance , isMarked , isRoot , isSource , isTarget , manageableReadResolve , manageableWriteReplace , removeAll , removeEdgeBitsTo , removeFromChain , removeFromChain , removeReference , setBranch , setBranch , setExtentIndex , setGraphForDeserialization , setIgnored , setLayer , setMark , setResolution , setSuccessor , setSuccessor , specialEdgeAdded , specialEdgeRefModified , specialEdgeRemoved , toString , writeReplace
Methods inherited from class de.grogra.graph.impl.Edge
addEdgeBits , getBitMark , getEdgeBits , getEdgeKeys , getObjectMark , getSpecialEdgeDescriptor , parseEdgeKeys , remove , removeEdgeBits , setBitMark , setEdgeBits , setObjectMark , testEdgeBits
Constructor Details
FileFactory
public FileFactory ()
Method Details
getNTypeImpl
Description copied from class: Node
This method returns the
Node.NType
which describes the managed
fields of the class of this node. This method has to be implemented
in every concrete subclass.
Overrides:
getNTypeImpl
in class ObjectItemFactory
Returns:
type describing the managed fields of the class of this node
newInstance
protected Node newInstance ()
Description copied from class: Node
This method returns a new instance of the class of this
node. This method has to be implemented in every concrete subclass.
Overrides:
newInstance
in class ObjectItemFactory
Returns:
new instance of class of this node
createItemImpl
Overrides:
createItemImpl
in class ObjectItemFactory
evaluate
Overrides:
evaluate
in class ObjectItemFactory
addFromURL
Reads an object from url
. If necessary,
an item reference to the object is created in the registry.
Parameters:
reg
- registry in which the reference shall be created
url
- URL to read
params
- parameters, may be null
ui
- workbench to use for UI
Returns:
the import object, or null
in case of problems
addFromFilterSource
Reads an object from a given FilterSoruce. If necessary,
an item reference to the object is created in the registry.
Parameters:
reg
- registry in which the reference shall be created
fs
- a filtersource
params
- parameters, may be null
ui
- workbench to use for UI
Returns:
the import object, or null
in case of problems
linkFromURLToResourceDir
Reads an object from url
. Add an item from url into a resource directory.
Does not create a copy on local file system.
Parameters:
reg
- registry in which the reference shall be created
url
- URL to read
params
- parameters, may be null
ui
- workbench to use for UI
dest
- A resource directory in the registry where the file will be added
Returns:
the import object, or null
in case of problems