|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.portals.graffito.jcr.mapper.impl.DigesterDescriptorReader
public class DigesterDescriptorReader
Helper class that reads the xml mapping file and load all class descriptors into memory (object graph)
Constructor Summary | |
---|---|
DigesterDescriptorReader()
|
Method Summary | |
---|---|
MappingDescriptor |
loadClassDescriptors(java.io.InputStream stream)
Load all class descriptors found in the xml mapping file. |
MappingDescriptor |
loadClassDescriptors(java.lang.String xmlFile)
Load all class descriptors found in the xml mapping file. |
void |
setResolver(java.net.URL dtdResolver)
|
void |
setValidating(boolean flag)
Set if the mapping should be validated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DigesterDescriptorReader()
Method Detail |
---|
public void setValidating(boolean flag)
flag
- true if the mapping should be validatedpublic void setResolver(java.net.URL dtdResolver)
public MappingDescriptor loadClassDescriptors(java.io.InputStream stream)
stream
- the xml mapping file reference
MappingDescriptor
public MappingDescriptor loadClassDescriptors(java.lang.String xmlFile)
xmlFile
- the xml mapping file reference
MappingDescriptor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |