|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XmlCatalog<T extends XmlCatalog<T>>
This interface defines an XML entity catalog. The catalog contains mappings
between system ID:s, public ID:s and URI:s and objects that can be
interpreted by InterpretAsReadableFileStrategy
.
Method Summary | |
---|---|
T |
addPublicId(String pid,
Object o)
Add one entity with the supplied public ID to the catalog. |
T |
addPublicIds(Map<String,?> m)
Add a map with public ID:s and their corresponding entities. |
T |
addSystemId(String sid,
Object o)
Add one entity with the supplied system ID to the catalog. |
T |
addSystemIds(Map<String,?> m)
Add a map with system ID:s and their corresponding entities. |
T |
addUri(String uri,
Object o)
Add one entity with the supplied URI to the catalog. |
T |
addUris(Map<String,?> m)
Add a map with URI:s and their corresponding entities. |
Method Detail |
---|
T addSystemId(String sid, Object o)
sid
- The system ID.o
- An entity that can be interpreted by
InterpretAsReadableFileStrategy
.
this
.T addSystemIds(Map<String,?> m)
m
- A mapping between system ID:s and entities.
this
T addPublicId(String pid, Object o)
pid
- The public ID.o
- An entity that can be interpreted by
InterpretAsReadableFileStrategy
.
this
.T addPublicIds(Map<String,?> m)
m
- A mapping between public ID:s and entities.
this
T addUri(String uri, Object o)
uri
- The URI.o
- An entity that can be interpreted by
InterpretAsReadableFileStrategy
.
this
.T addUris(Map<String,?> m)
m
- A mapping between URI:s and entities.
this
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |