|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.metro.tools.ValueDataType net.dpml.metro.tools.EntryDataType
A simple part datatype.
Constructor Summary | |
EntryDataType()
|
Method Summary | |
PartReference |
buildPartReference(ClassLoader classloader,
Type type)
Build a part reference. |
URI |
getBuilderURI()
Return a uri identitifying the builder. |
String |
getKey()
Return the key identifying the part that this builder is building. |
URI |
getPartHandlerURI()
Return a urn identitifying the part handler for this builder. |
ValueDirective |
getValueDirective(ClassLoader classloader,
Type type)
Return the value directive. |
void |
setFeature(String feature)
Set the feature that this directive references. |
void |
setKey(String key)
Set the key that this directive qualifies. |
void |
setLookup(String spec)
Set the lookup attribute value. |
protected static URI |
setupURI(String spec)
Utility function top create a static uri. |
void |
setValidate(boolean flag)
Set the validation flag. |
Methods inherited from class net.dpml.metro.tools.ValueDataType |
buildValue, createValue, getClassname, getTargetClass, getValue, getValueBuilders, setClass, setMethod, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EntryDataType()
Method Detail |
public void setKey(String key)
key
- the context entry keypublic void setLookup(String spec)
spec
- the service classnamepublic void setValidate(boolean flag)
flag
- if false entry validation is disabledpublic void setFeature(String feature)
feature
- the component featurepublic URI getBuilderURI()
public String getKey()
getKey
in interface PartReferenceBuilder
public PartReference buildPartReference(ClassLoader classloader, Type type)
buildPartReference
in interface PartReferenceBuilder
classloader
- the classloader to usetype
- the underlying component type
public URI getPartHandlerURI()
public ValueDirective getValueDirective(ClassLoader classloader, Type type)
classloader
- the classloader to usetype
- the underlying component type
protected static URI setupURI(String spec)
spec
- the uri spec
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |