|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.castor.xml.util.XMLParserUtils
public class XMLParserUtils
A couple of routines to manipulate XMLParser instances. Mostly extracted from 'old' LocalConfiguration class.
| Field Summary | |
|---|---|
(package private) static org.apache.commons.logging.Log |
LOG
Logger to be used. |
| Constructor Summary | |
|---|---|
XMLParserUtils()
|
|
| Method Summary | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
static OutputFormat |
getOutputFormat(AbstractProperties properties)
|
||||||||||||||||||
static org.xml.sax.Parser |
getParser(AbstractProperties properties,
java.lang.String features)
|
||||||||||||||||||
static javax.xml.parsers.SAXParser |
getSAXParser(boolean validation,
boolean namespaces)
To get a SAXParser instance which is then used to get either parser or XMLReader. |
||||||||||||||||||
static Serializer |
getSerializer(AbstractProperties properties)
|
||||||||||||||||||
static XMLSerializerFactory |
getSerializerFactory(java.lang.String serializerFactoryName)
Returns the currently configured XMLSerializerFactory instance. |
||||||||||||||||||
static org.xml.sax.Parser |
instantiateParser(java.lang.String className)
Instantiates an Parser instance directly, using Class.forName(String)
to obtain the Class instance, and uses Class.newInstance()
to create the actuall.resolvers">ByMappingLoader
A command used by a resolver strategy to get class descriptors. A command may return none, a single class descriptor or multiple class descriptors and even if class descriptors are returned, is not garanteed that the requested descriptor is within. No exceptions are thrown if the class could not be resolved - this is a possible result! Commands are planned to be something like a service which might get invoked multiple times in parallel. So no resolve specific states are allowed to be stored in the class state!
resolve
java.util.Map resolve(java.lang.String className,
java.util.Map p)
throws ResolverException
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com | ||||||||||||||||||