public class CdkEntityResolver extends Object implements EntityResolver2
That class resolves entities used by CDK ( standard JSF schemas, extensions, configuration fragments.)
| Modifier and Type | Field and Description |
|---|---|
static String |
JAXP_SCHEMA_LANGUAGE |
static String |
JAXP_SCHEMA_LOCATION |
static String |
URN_ATTRIBUTES |
static String |
URN_CONFIG |
static String |
URN_RESOURCE |
static String |
URN_TEMPLATES |
static String |
W3C_XML_SCHEMA |
| Constructor and Description |
|---|
CdkEntityResolver() |
| Modifier and Type | Method and Description |
|---|---|
InputSource |
getExternalSubset(String name,
String baseURI) |
protected InputSource |
getProjectInputSource(FileManager folders,
String path) |
InputSource |
resolveEntity(String publicId,
String systemId) |
InputSource |
resolveEntity(String name,
String publicId,
String baseURI,
String systemId) |
protected InputSource |
resolveSystemId(String systemId) |
public static final String JAXP_SCHEMA_LANGUAGE
public static final String JAXP_SCHEMA_LOCATION
public static final String URN_ATTRIBUTES
public static final String URN_CONFIG
public static final String URN_RESOURCE
public static final String URN_TEMPLATES
public static final String W3C_XML_SCHEMA
public InputSource getExternalSubset(String name, String baseURI) throws SAXException, IOException
getExternalSubset in interface EntityResolver2SAXExceptionIOExceptionpublic InputSource resolveEntity(String name, String publicId, String baseURI, String systemId) throws SAXException, IOException
resolveEntity in interface EntityResolver2SAXExceptionIOExceptionpublic InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
resolveEntity in interface EntityResolverSAXExceptionIOExceptionprotected InputSource resolveSystemId(String systemId) throws IOException
IOExceptionprotected InputSource getProjectInputSource(FileManager folders, String path) throws FileNotFoundException
FileNotFoundExceptionCopyright © 2014 JBoss by Red Hat. All Rights Reserved.