Top Fields Constructors Methods
com.mchange.v2.c3p0.cfg

public final Class C3P0ConfigXmlUtils

extends Object
Class Inheritance
Imports
java.io.*, java.util.*, javax.xml.parsers.*, org.w3c.dom.*, com.mchange.v2.log.*, com.mchange.v1.xml.DomParseUtils

Field Summary

Modifier and TypeField and Description
public static final String
pack-priv static final MLogger
private static final String[]
private static final char[]
private static final String[]
private static final String[]
public static final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static void
attemptSetFeature(DocumentBuilderFactory dbf, String featureUri, boolean setting)

private static void
public static C3P0Config
private static HashMap<K, V>
private static NamedScope
private static HashMap<K, V>
public static C3P0Config
extractXmlConfigFromDefaultResource(boolean usePermissiveParser)

public static C3P0Config
extractXmlConfigFromInputStream(InputStream is, boolean usePermissiveParser)

private static final void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LINESEPback to summary
public static final String LINESEP
loggerback to summary
pack-priv static final MLogger logger
MISSPELL_CONFIGback to summary
private static final String[] MISSPELL_CONFIG
MISSPELL_LINESback to summary
private static final char[] MISSPELL_LINES
MISSPELL_PFXSback to summary
private static final String[] MISSPELL_PFXS
MISSPELL_XMLback to summary
private static final String[] MISSPELL_XML
XML_CONFIG_RSRC_PATHback to summary
public static final String XML_CONFIG_RSRC_PATH

Constructor Detail

C3P0ConfigXmlUtilsback to summary
private C3P0ConfigXmlUtils()

Method Detail

attemptSetFeatureback to summary
private static void attemptSetFeature(DocumentBuilderFactory dbf, String featureUri, boolean setting)
cautionDocumentBuilderFactoryback to summary
private static void cautionDocumentBuilderFactory(DocumentBuilderFactory dbf)
extractConfigFromXmlDocback to summary
public static C3P0Config extractConfigFromXmlDoc(Document doc) throws Exception
extractExtensionsFromLevelback to summary
private static HashMap<K, V> extractExtensionsFromLevel(Element elem)
extractNamedScopeFromLevelback to summary
private static NamedScope extractNamedScopeFromLevel(Element elem)
extractPropertiesFromLevelback to summary
private static HashMap<K, V> extractPropertiesFromLevel(Element elem)
extractXmlConfigFromDefaultResourceback to summary
public static C3P0Config extractXmlConfigFromDefaultResource(boolean usePermissiveParser) throws Exception
extractXmlConfigFromInputStreamback to summary
public static C3P0Config extractXmlConfigFromInputStream(InputStream is, boolean usePermissiveParser) throws Exception
warnCommonXmlConfigResourceMisspellingsback to summary
private static final void warnCommonXmlConfigResourceMisspellings()