RichFaces CDK Generator 4.2.0.CR1

org.richfaces.cdk.xmlconfig
Class CdkEntityResolver

java.lang.Object
  extended by 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

Field Summary
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 Summary
CdkEntityResolver()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

CdkEntityResolver

public CdkEntityResolver()
Method Detail

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

RichFaces CDK Generator 4.2.0.CR1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.