|
Milyn-Smooks Version 0.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Content delivery configuration.
Provides access to Content Delivery Resources (e.g.Content Delivery Units
)
and other information for the requesting browser e.g. see getAssemblyUnits()
.
Method Summary | |
java.util.Hashtable |
getAssemblyUnits()
Get the AssemblyUnit table for this delivery
context. |
java.util.List |
getCDRDefs(java.lang.String selector)
Get the list of CDRDef s for the specified selector definition. |
DTDStore.DTDObjectContainer |
getDTD()
Get the DTD ( DTDStore.DTDObjectContainer ) for this delivery context. |
java.util.List |
getObjects(java.lang.String selector)
Get a list of Object s from the CDRDef s specified by the selector. |
java.util.Hashtable |
getSerailizationUnits()
Get the SerializationUnit table for this delivery context. |
TransSet |
getTransSet(java.lang.String tag)
Get the TransUnit configure instances, for the named tag, for the useragent associated with this table. |
Method Detail |
public java.util.List getCDRDefs(java.lang.String selector)
CDRDef
s for the specified selector definition.
This list will be preselected and preordered
for the requesting browser.
Use one or both of the following mechanisms to a access the resource bytes:
CDRStore.getEntry(CDRDef)
ClassLoader.getResourceAsStream(java.lang.String)
if the
resource is located in the classpath - using CDRDef.getPath()
for
the resource "name" parameter. Prefix the name with "/".
selector
- selector attribute value from the .cdrl file in the .cdrar. This
parameter is treated case incensitively.
CDRDef
instances, or null if no CDRDef
s are
defined under that selector (for the device).getObjects(String)
public java.util.List getObjects(java.lang.String selector)
Object
s from the CDRDef
s specified by the selector.
Gets the CDRDef
s specified for the selector and attempts to instanciate
a Java class instance from the resource specified by each of the CDRDef
s.
Implementations should use CDRStore.getObject(CDRDef)
to
construct each object.
selector
- selector attribute value from the .cdrl file in the .cdrar. This
parameter is treated case incensitively.
CDRStore.getObject(CDRDef)
,
getCDRDefs(String)
public java.util.Hashtable getAssemblyUnits()
AssemblyUnit
table for this delivery
context.
The table is keyed by element name and the values are
AssemblyUnit
instances.
public TransSet getTransSet(java.lang.String tag)
tag
- The tag name for which the TransUnits are being requested.
public java.util.Hashtable getSerailizationUnits()
SerializationUnit
instances.
public DTDStore.DTDObjectContainer getDTD()
DTDStore.DTDObjectContainer
) for this delivery context.
DTDStore.DTDObjectContainer
) for this delivery context.
|
Milyn-Smooks Version 0.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |