Java org.apache.commons.digester3 Digester fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.digester3 Digester fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.digester3 Digester.

The text is from its open source code.

Subclass

org.apache.commons.digester3.Digester has subclasses.
Click this link to see all its subclasses.

Constructor

Digester()
Construct a new Digester with default properties.
Digester(SAXParser parser)
Construct a new Digester, allowing a SAXParser to be passed in.
Digester(XMLReader reader)
Construct a new Digester, allowing an XMLReader to be passed in.

Method

voidaddBeanPropertySetter(String pattern, String propertyName)
Add a "bean property setter" rule for the specified parameters.
voidaddBeanPropertySetter(String pattern)
Add a "bean property setter" rule for the specified parameters.
voidaddCallMethod(String pattern, String methodName, int paramCount)
Add an "call method" rule for the specified parameters.
voidaddCallMethod(String pattern, String methodName, int paramCount, String paramTypes[])
Add an "call method" rule for the specified parameters.
voidaddCallMethod(String pattern, String methodName, int paramCount, Class paramTypes[])
Add an "call method" rule for the specified parameters.
voidaddCallMethod(String pattern, String methodName)
Add an "call method" rule for a method which accepts no arguments.
voidaddCallParam(String pattern, int paramIndex, String attributeName)
Add a "call parameter" rule for the specified parameters.
voidaddCallParam(String pattern, int paramIndex, boolean fromStack)
Add a "call parameter" rule.
voidaddCallParam(String pattern, int paramIndex, int stackIndex)
Add a "call parameter" rule that sets a parameter from the stack.
voidaddCallParam(String pattern, int paramIndex)
Add a "call parameter" rule for the specified parameters.
voidaddFactoryCreate(String pattern, String className)
Add a "factory create" rule for the specified parameters.
voidaddFactoryCreate(String pattern, Class> clazz)
Add a "factory create" rule for the specified parameters.
voidaddFactoryCreate(String pattern, ObjectCreationFactory creationFactory)
Add a "factory create" rule for the specified parameters.
voidaddObjectCreate(String pattern, String className)
Add an "object create" rule for the specified parameters.
voidaddObjectCreate(String pattern, Class clazz)
Add an "object create" rule for the specified parameters.
voidaddObjectCreate(String pattern, String className, String attributeName)
Add an "object create" rule for the specified parameters.
voidaddObjectCreate(String pattern, String attributeName, Class clazz)
Add an "object create" rule for the specified parameters.
voidaddObjectParam(String pattern, int paramIndex, Object paramObj)
Add a "call parameter" rule that sets a parameter from a caller-provided object.
voidaddRule(String pattern, Rule rule)

Register a new Rule matching the specified pattern.

voidaddRuleSet(RuleSet ruleSet)
Register a set of Rule instances defined in a RuleSet.
voidaddSetNestedProperties(String pattern)
Adds an SetNestedPropertiesRule .
voidaddSetNext(String pattern, String methodName)
Add a "set next" rule for the specified parameters.
voidaddSetNext(String pattern, String methodName, String paramType)
Add a "set next" rule for the specified parameters.
voidaddSetProperties(String pattern, String attributeName, String propertyName)
Add a "set properties" rule with a single overridden parameter.
voidaddSetProperties(String pattern, String[] attributeNames, String[] propertyNames)
Add a "set properties" rule with overridden parameters.
voidaddSetProperties(String pattern)
Add a "set properties" rule for the specified parameters.
voidaddSetProperty(String pattern, String name, String value)
Add a "set property" rule for the specified parameters.
voidaddSetRoot(String pattern, String methodName)
Add SetRootRule with the specified parameters.
voidaddSetTop(String pattern, String methodName)
Add a "set top" rule for the specified parameters.
voidclear()
Clear the current contents of the default object stack, the param stack, all named stacks, and other internal variables.
booleangetNamespaceAware()
Return the "namespace aware" flag for parsers we create.
TgetRoot()
Returns the root element of the tree of objects created as a result of applying the rule objects to the input XML.
booleangetUseContextClassLoader()
Return the boolean as to whether the context ClassLoader should be used.
booleangetValidating()
Return the validating parser flag.
Tparse(File file)
Parse the content of the specified file using this Digester.
Tparse(InputSource input)
Parse the content of the specified input source using this Digester.
Tparse(InputStream input)
Parse the content of the specified input stream using this Digester.
Tparse(Reader reader)
Parse the content of the specified reader using this Digester.
Tparse(String uri)
Parse the content of the specified URI using this Digester.
Tparse(URL url)
Parse the content of the specified URL using this Digester.
voidpush(T object)
Push a new object onto the top of the object stack.
voidsetClassLoader(ClassLoader classLoader)
Set the class loader to be used for instantiating application objects when required.
voidsetEntityResolver(EntityResolver entityResolver)
Set the EntityResolver used by SAX when resolving public id and system id.
voidsetErrorHandler(ErrorHandler errorHandler)
Set the error handler for this Digester.
voidsetFeature(String feature, boolean value)
Sets a flag indicating whether the requested feature is supported by the underlying implementation of org.xml.sax.XMLReader.
voidsetNamespaceAware(boolean namespaceAware)
Set the "namespace aware" flag for parsers we create.
voidsetProperty(String property, Object value)
Set the current value of the specified property for the underlying XMLReader implementation.
voidsetRules(Rules rules)
Set the Rules implementation object containing our rules collection and associated matching policy.
voidsetSubstitutor(Substitutor substitutor)
Sets the Substitutor to be used to convert attributes and body text.
voidsetUseContextClassLoader(boolean use)
Determine whether to use the Context ClassLoader (the one found by calling Thread.currentThread().getContextClassLoader()) to resolve/load classes that are defined in various rules.
voidsetValidating(boolean validating)
Set the validating parser flag.
voidsetXMLSchema(Schema schema)
Set the XML Schema to be used when parsing.