Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.seam.util
Class DTDEntityResolver

    java.lang.Object
      org.jboss.seam.util.DTDEntityResolver

All Implemented Interfaces:
  Serializable, EntityResolver

    public class DTDEntityResolver

extends Object
implements EntityResolver, Serializable

An `EntityResolver` implementation which attempts to resolve various systemId URLs to local classpath lookups

1. Any systemId URL beginning with `http://jboss.org/schema/seam/` is searched for as a classpath resource in the classloader which loaded the Seam classes.
2. Any systemId URL using `classpath` as the scheme (i.e. starting with `classpath://` is searched for as a classpath resource using first the current thread context classloader and then the classloader which loaded the Seam classes.

Any entity references which cannot be resolved in relation to the above rules result in returning null, which should force the SAX reader to handle the entity reference in its default manner.

See Also:
  Serialized Form

Constructor Summary
`DTDEntityResolver()`

Method Summary
`InputSource` | `resolveEntity(String publicId, String systemId)`
`protected InputStream` | `resolveInLocalNamespace(String path)`
`protected InputStream` | `resolveInSeamNamespace(String path)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DTDEntityResolver

    public DTDEntityResolver()

Method Detail

### resolveEntity

    public InputSource resolveEntity(String publicId,
                                     String systemId)

  Specified by:
    `resolveEntity` in interface `EntityResolver`

### resolveInSeamNamespace

    protected InputStream resolveInSeamNamespace(String path)

### resolveInLocalNamespace

    protected InputStream resolveInLocalNamespace(String path)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 Seam Framework. All Rights Reserved.