Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-02


oracle.stellent.wcm.core.config.jaxb
Class JAXBMapping

java.lang.Object
  extended by java.util.AbstractMap<java.lang.String,java.lang.String>
      extended by oracle.stellent.wcm.core.config.jaxb.JAXBMapping

All Implemented Interfaces:
java.util.Map<java.lang.String,java.lang.String>, Mapping

public class JAXBMapping
extends java.util.AbstractMap<java.lang.String,java.lang.String>
implements Mapping

Nested Class Summary

 

Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>

 

Nested classes/interfaces inherited from interface oracle.stellent.wcm.core.config.Mapping
Mapping.IdHelper, Mapping.Type

 

Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>

 

Field Summary

 

Fields inherited from interface oracle.stellent.wcm.core.config.Mapping
ATTRIBUTE_DESCRIPTION, ATTRIBUTE_REGION_DEFINITION, ID, ID_PREFIX, PATH, TYPE

 

Constructor Summary
JAXBMapping()
           
JAXBMapping(oracle.stellent.wcm.core.config.jaxb.model.MappingType model, Mapping.Type type)
           
JAXBMapping(java.lang.String id, java.lang.String path, Mapping.Type type)
           

 

Method Summary
 java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> entrySet()
           
 java.lang.String getAttribute(java.lang.String name)
          Retrieve an attribute value
 java.lang.String getID()
           
protected  oracle.stellent.wcm.core.config.jaxb.model.MappingType getModel()
           
 java.lang.String getPath()
           
 java.lang.String getPrefix()
           
 Mapping.Type getType()
           
 void setAttribute(java.lang.String name, java.lang.String value)
          Set an attribute
 void setID(java.lang.String id)
          The ID of the mapping
 void setPath(java.lang.String path)
          Set the mapping path
 void setPrefix(java.lang.String prefix)
          Set the prefix for this mapping
 void setType(Mapping.Type type)
          Set the type of this mapping

 

Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values

 

Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait

 

Methods inherited from interface java.util.Map
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values

 

Constructor Detail

JAXBMapping

public JAXBMapping()

JAXBMapping

public JAXBMapping(java.lang.String id,
                   java.lang.String path,
                   Mapping.Type type)

JAXBMapping

public JAXBMapping(oracle.stellent.wcm.core.config.jaxb.model.MappingType model,
                   Mapping.Type type)

Method Detail

getModel

protected oracle.stellent.wcm.core.config.jaxb.model.MappingType getModel()

getID

public java.lang.String getID()
Specified by:
getID in interface Mapping
Returns:
the ID of the mapping

setID

public void setID(java.lang.String id)
The ID of the mapping
Specified by:
setID in interface Mapping
Parameters:
id - the ID

getType

public Mapping.Type getType()
Specified by:
getType in interface Mapping
Returns:
the type of mapping

setType

public void setType(Mapping.Type type)
Set the type of this mapping
Specified by:
setType in interface Mapping
Parameters:
type - the type

getPath

public java.lang.String getPath()
Specified by:
getPath in interface Mapping
Returns:
the path of the file

setPath

public void setPath(java.lang.String path)
Set the mapping path
Specified by:
setPath in interface Mapping
Parameters:
path - the path (should start with '/')

getPrefix

public java.lang.String getPrefix()
Specified by:
getPrefix in interface Mapping
Returns:
the prefix associated with this mapping

setPrefix

public void setPrefix(java.lang.String prefix)
Set the prefix for this mapping
Specified by:
setPrefix in interface Mapping
Parameters:
prefix - the prefix

getAttribute

public java.lang.String getAttribute(java.lang.String name)
Retrieve an attribute value
Specified by:
getAttribute in interface Mapping
Parameters:
name - the attribute name
Returns:
the value

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.String value)
Set an attribute
Specified by:
setAttribute in interface Mapping
Parameters:
name - the attribute name
value - the value

entrySet

public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> entrySet()
Specified by:
entrySet in interface java.util.Map<java.lang.String,java.lang.String>
Specified by:
entrySet in class java.util.AbstractMap<java.lang.String,java.lang.String>

Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-02


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.