|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.wcm.core.config.jaxb.JAXBMappingsConfiguration
public class JAXBMappingsConfiguration
Constructor Summary | |
---|---|
JAXBMappingsConfiguration() |
|
JAXBMappingsConfiguration(oracle.stellent.wcm.core.config.jaxb.model.MappingsType model) |
Method Summary | |
---|---|
void |
addMapping(Mapping mapping) Add a mapping; will override any mapping with the same ID |
void |
clearMappings() Remove all mappings |
boolean |
containsMapping(java.lang.String id) Return true if the ID is mapped in this config |
java.util.Set<java.lang.String> |
getIDs() |
Mapping |
getMapping(java.lang.String id) The mapping of a page name to application page |
Mapping |
getMappingByPath(java.lang.String path) The mapping of a page name to application page |
java.util.Map<java.lang.String,JAXBMapping> |
getMappingByPathTable() |
java.util.List<Mapping> |
getMappings(Mapping.Type type) Retrieve a list of mappings by type |
java.util.List<Mapping> |
getMappings(Mapping.Type type, java.lang.String attrName, java.lang.String attrValue) Retrieve list of mappings by type and attribute name/value match |
protected java.util.List<oracle.stellent.wcm.core.config.jaxb.model.MappingType> |
getMappingTypeList(Mapping.Type type) Retrieve the type list from the JAXB model |
oracle.stellent.wcm.core.config.jaxb.model.MappingsType |
getModel() |
java.util.Map<java.lang.String,JAXBMapping> |
getTable() |
protected void |
init() Initialize our internal Map using the information in the JAXB data model |
boolean |
isPathMapped(java.lang.String path) Return true if the ID is mapped in this config |
void |
removeMapping(java.lang.String id) Remove the mapping |
java.lang.String |
resolveToPath(java.lang.String id) Resolves the ID to a path |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JAXBMappingsConfiguration()
public JAXBMappingsConfiguration(oracle.stellent.wcm.core.config.jaxb.model.MappingsType model)
Method Detail |
---|
public oracle.stellent.wcm.core.config.jaxb.model.MappingsType getModel()
public java.util.Map<java.lang.String,JAXBMapping> getTable()
public java.util.Map<java.lang.String,JAXBMapping> getMappingByPathTable()
public java.util.Set<java.lang.String> getIDs()
getIDs
in interface MappingsConfiguration
public Mapping getMapping(java.lang.String id)
getMapping
in interface MappingsConfiguration
id
- the page namepublic java.lang.String resolveToPath(java.lang.String id)
resolveToPath
in interface MappingsConfiguration
id
- the idpublic java.util.List<Mapping> getMappings(Mapping.Type type)
getMappings
in interface MappingsConfiguration
type
- the typepublic java.util.List<Mapping> getMappings(Mapping.Type type, java.lang.String attrName, java.lang.String attrValue)
getMappings
in interface MappingsConfiguration
type
- the typeattrName
- the attribute nameattrValue
- the valuepublic boolean containsMapping(java.lang.String id)
containsMapping
in interface MappingsConfiguration
id
- the identifierpublic boolean isPathMapped(java.lang.String path)
isPathMapped
in interface MappingsConfiguration
path
- the path to the filepublic Mapping getMappingByPath(java.lang.String path)
getMappingByPath
in interface MappingsConfiguration
path
- the path to the file that is mappedpublic void removeMapping(java.lang.String id)
removeMapping
in interface MappingsConfiguration
id
- the mapping IDpublic void clearMappings()
clearMappings
in interface MappingsConfiguration
public void addMapping(Mapping mapping)
addMapping
in interface MappingsConfiguration
mapping
- the mapping objectprotected void init()
protected java.util.List<oracle.stellent.wcm.core.config.jaxb.model.MappingType> getMappingTypeList(Mapping.Type type)
type
- the mapping type
|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |