|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.nite.meta.impl.NiteLayer
public class NiteLayer
A layer as referred to in the metadata
| Field Summary |
|---|
| Fields inherited from interface net.sourceforge.nite.meta.NLayer |
|---|
EXTERNAL_POINTER_LAYER, FEATURAL_LAYER, STRUCTURAL_LAYER, TIMED_LAYER |
| Constructor Summary | |
|---|---|
NiteLayer(java.lang.String name,
int type,
java.lang.Object container)
|
|
NiteLayer(java.lang.String name,
int type,
java.lang.Object container,
java.lang.String childlayer,
java.lang.String recursivechild,
java.lang.String program,
java.lang.String content,
boolean inheritstime)
|
|
| Method Summary | |
|---|---|
void |
addParentLayer(NiteLayer layer)
|
void |
addProgramArgument(java.lang.String parameter,
java.lang.String value)
the arguments to pass to the program associated with the external pointer for this layer: this value will only ever be non-null when the layer type is EXTERNAL_POINTER_LAYER. |
NLayer |
getChildLayer()
Get the layer below this in the hierarchy. |
java.lang.String |
getChildLayerName()
get the name of the layer from which this layer draws children |
java.lang.Object |
getContainer()
Returns the container to which this layer belongs. |
java.util.List |
getContentElements()
get the list of elements valid in this layer - returns an ArrayList of NElements |
java.lang.String |
getContentType()
the content type of this external layer: this value will only ever be non-null when the layer type is EXTERNAL_POINTER_LAYER. |
int |
getLayerType()
The type of the layer - returns TIMED_LAYER or FEATURAL_LAYER or STRUCTURAL_LAYER or EXTERNAL_POINTER_LAYER |
java.lang.String |
getName()
the name of the layer |
NLayer |
getParentLayerInCoding(java.lang.Object contain)
Find the parent layer in the given coding |
java.util.List |
getParentLayers()
get the parent(s) of this layer - returns an ArrayList of NLayers |
java.lang.String |
getPointsTo()
Deprecated. Use getChildLayerName() |
java.lang.String |
getProgram()
This stores the program associated with the external pointer for this layer: this value will only ever be non-null when the layer type is EXTERNAL_POINTER_LAYER. |
java.util.List |
getProgramArguments()
the arguments to pass to the program associated with the external pointer for this layer: this value will only ever be non-null when the layer type is EXTERNAL_POINTER_LAYER. |
boolean |
getRecursive()
Whether the sub-layer is pointed to recursively |
boolean |
inheritsTime()
return true if this layer can inherit time from lower layers. |
boolean |
isTopLayerInCoding()
Return true if this is the top layer in a file. |
void |
setChildLayer(NiteLayer layer)
|
void |
setContentElements(java.util.ArrayList elements)
set the list of elements valid in this layer - takes an ArrayList of NElements |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NiteLayer(java.lang.String name,
int type,
java.lang.Object container,
java.lang.String childlayer,
java.lang.String recursivechild,
java.lang.String program,
java.lang.String content,
boolean inheritstime)
public NiteLayer(java.lang.String name,
int type,
java.lang.Object container)
| Method Detail |
|---|
public java.lang.String getName()
getName in interface NLayerpublic int getLayerType()
getLayerType in interface NLayerpublic java.lang.Object getContainer()
getContainer in interface NLayerpublic java.util.List getParentLayers()
getParentLayers in interface NLayerpublic NLayer getParentLayerInCoding(java.lang.Object contain)
getParentLayerInCoding in interface NLayerpublic NLayer getChildLayer()
NLayer
getChildLayer in interface NLayerpublic void setChildLayer(NiteLayer layer)
public void addParentLayer(NiteLayer layer)
public java.util.List getContentElements()
getContentElements in interface NLayerpublic void setContentElements(java.util.ArrayList elements)
public boolean getRecursive()
getRecursive in interface NLayerpublic java.lang.String getPointsTo()
getChildLayerName()
public java.lang.String getChildLayerName()
getChildLayerName in interface NLayerpublic boolean isTopLayerInCoding()
isTopLayerInCoding in interface NLayerpublic boolean inheritsTime()
inheritsTime in interface NLayerpublic java.lang.String getProgram()
getProgram in interface NLayerpublic java.lang.String getContentType()
getContentType in interface NLayerpublic java.util.List getProgramArguments()
getProgramArguments in interface NLayer
public void addProgramArgument(java.lang.String parameter,
java.lang.String value)
addProgramArgument in interface NLayer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||