|
Milyn-Smooks Version 0.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.milyn.cdr.CDRConfig
Disgester class for the Content Delivery Resource definition data found in an Archive Definition File (.cdrl).
Archive definition files (.cdrl) are located in the "/META-INF" folder of a .cdrar or can be manually located and loaded from other locations e.g. from the "/WEB-INF/cdr" folder in Servlet context.
Constructor Summary | |
CDRConfig(java.lang.String name)
Public Constrctor. |
|
CDRConfig(java.lang.String name,
java.io.InputStream stream)
Public Constructor. |
Method Summary | |
void |
addCDRDef(CDRDef unitDef)
Add the supplied CDRDef instance to this CDRConfig. |
CDRDef[] |
getCDRDefs()
Get the CDR definitions defined in this archive. |
java.lang.String |
getName()
Get the name of the archive definition file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CDRConfig(java.lang.String name)
name
- The name of the archive definition file.public CDRConfig(java.lang.String name, java.io.InputStream stream) throws org.xml.sax.SAXException, java.io.IOException
name
- The name of the archive definition file.stream
- The XML stream from which the Archive Definition is constructed.Method Detail |
public void addCDRDef(CDRDef unitDef)
unitDef
- The CDRDef instance to be added.public java.lang.String getName()
public CDRDef[] getCDRDefs()
|
Milyn-Smooks Version 0.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |