|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xml.sax.helpers.DefaultHandler org.apache.commons.digester.Digester org.ow2.jonas.deployment.common.digester.JDigester
public class JDigester
This class defines a Digester for the xml parsing of deployment descriptors standard and specific
Field Summary |
---|
Fields inherited from class org.apache.commons.digester.Digester |
---|
bodyText, bodyTexts, classLoader, configured, entityResolver, entityValidator, errorHandler, factory, inputSources, JAXP_SCHEMA_LANGUAGE, locator, log, match, matches, namespaceAware, namespaces, params, parser, publicId, reader, root, rules, saxLog, schema, schemaLanguage, schemaLocation, stack, substitutor, useContextClassLoader, validating, W3C_XML_SCHEMA, xincludeAware |
Constructor Summary | |
---|---|
JDigester(JRuleSetBase ruleSet,
boolean parsingWithValidation,
boolean namespaceAware,
DTDs dtds,
Schemas schemas)
Construct an instance of a JDigester which is a Digester that is configured for parsing the deployment descriptors standards and specifics used in JOnAS application. |
Method Summary | |
---|---|
void |
parse(Reader reader,
String fileName,
TopLevelElement element)
Parse the deployment descriptor |
Methods inherited from class org.apache.commons.digester.Digester |
---|
addBeanPropertySetter, addBeanPropertySetter, addCallMethod, addCallMethod, addCallMethod, addCallMethod, addCallParam, addCallParam, addCallParam, addCallParam, addCallParamPath, addFactoryCreate, addFactoryCreate, addFactoryCreate, addFactoryCreate, addFactoryCreate, addFactoryCreate, addFactoryCreate, addFactoryCreate, addFactoryCreate, addFactoryCreate, addObjectCreate, addObjectCreate, addObjectCreate, addObjectCreate, addObjectParam, addRule, addRuleSet, addSetNestedProperties, addSetNestedProperties, addSetNestedProperties, addSetNext, addSetNext, addSetProperties, addSetProperties, addSetProperties, addSetProperty, addSetRoot, addSetRoot, addSetTop, addSetTop, characters, cleanup, clear, configure, createInputSourceFromURL, createInputSourceFromURL, createSAXException, createSAXException, createSAXException, endDocument, endElement, endPrefixMapping, error, fatalError, findNamespaceURI, getClassLoader, getCount, getCurrentElementName, getCurrentNamespaces, getCustomContentHandler, getDebug, getDocumentLocator, getEntityResolver, getErrorHandler, getFactory, getFeature, getLogger, getMatch, getNamespaceAware, getParser, getProperty, getPublicId, getReader, getRoot, getRuleNamespaceURI, getRules, getSAXLogger, getSchema, getSchemaLanguage, getStackAction, getSubstitutor, getUseContextClassLoader, getValidating, getXIncludeAware, getXMLReader, getXMLSchema, ignorableWhitespace, initialize, isEmpty, log, log, notationDecl, parse, parse, parse, parse, parse, parse, peek, peek, peek, peek, peekParams, peekParams, pop, pop, popParams, processingInstruction, push, push, pushParams, register, register, resetRoot, resolveEntity, setClassLoader, setCustomContentHandler, setDebug, setDocumentLocator, setEntityResolver, setErrorHandler, setFeature, setLogger, setNamespaceAware, setProperty, setPublicId, setRuleNamespaceURI, setRules, setSAXLogger, setSchema, setSchemaLanguage, setStackAction, setSubstitutor, setUseContextClassLoader, setValidating, setXIncludeAware, setXMLSchema, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDigester(JRuleSetBase ruleSet, boolean parsingWithValidation, boolean namespaceAware, DTDs dtds, Schemas schemas) throws DeploymentDescException
ruleSet
- an object that extends JRuleSetBaseparsingWithValidation
- flag for xmlvalidationnamespaceAware
- must be true when schema is useddtds
- mapping between publicId and local Urls of DTDsschemas
- local urls for the schemas
DeploymentDescException
- if the deployment descriptors are corrupted.Method Detail |
---|
public void parse(Reader reader, String fileName, TopLevelElement element) throws DeploymentDescException
reader
- the Reader of the XML file.fileName
- the name of the file.element
- top level xml element
which is a structure containing the result of the xml parsing.
DeploymentDescException
- if the deployment descriptor
is corrupted.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |