org.richfaces.cdk.xmlconfig
Class CdkEntityResolver
java.lang.Object
org.richfaces.cdk.xmlconfig.CdkEntityResolver
- All Implemented Interfaces:
- EntityResolver, EntityResolver2
public class CdkEntityResolver
- extends Object
- implements EntityResolver2
That class resolves entities used by CDK ( standard JSF schemas, extensions, configuration fragments.)
- Author:
- asmirnov@exadel.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXP_SCHEMA_LANGUAGE
public static final String JAXP_SCHEMA_LANGUAGE
- See Also:
- Constant Field Values
JAXP_SCHEMA_LOCATION
public static final String JAXP_SCHEMA_LOCATION
- See Also:
- Constant Field Values
URN_ATTRIBUTES
public static final String URN_ATTRIBUTES
- See Also:
- Constant Field Values
URN_CONFIG
public static final String URN_CONFIG
- See Also:
- Constant Field Values
URN_RESOURCE
public static final String URN_RESOURCE
- See Also:
- Constant Field Values
URN_TEMPLATES
public static final String URN_TEMPLATES
- See Also:
- Constant Field Values
W3C_XML_SCHEMA
public static final String W3C_XML_SCHEMA
- See Also:
- Constant Field Values
CdkEntityResolver
public CdkEntityResolver()
getExternalSubset
public InputSource getExternalSubset(String name,
String baseURI)
throws SAXException,
IOException
- Specified by:
getExternalSubset in interface EntityResolver2
- Throws:
SAXException
IOException
resolveEntity
public InputSource resolveEntity(String name,
String publicId,
String baseURI,
String systemId)
throws SAXException,
IOException
- Specified by:
resolveEntity in interface EntityResolver2
- Throws:
SAXException
IOException
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws SAXException,
IOException
- Specified by:
resolveEntity in interface EntityResolver
- Throws:
SAXException
IOException
resolveSystemId
protected InputSource resolveSystemId(String systemId)
throws IOException
- Throws:
IOException
getProjectInputSource
protected InputSource getProjectInputSource(FileManager folders,
String path)
throws FileNotFoundException
- Throws:
FileNotFoundException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.