Skip navigation links

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

E17273-01


oracle.stellent.wcm.core.definition.conversion
Class ConversionsDefinition

java.lang.Object
  extended by oracle.stellent.wcm.core.definition.conversion.ConversionsDefinition


public class ConversionsDefinition
extends java.lang.Object

Field Summary
protected  ILog m_log
           

 

Constructor Summary
ConversionsDefinition()
           
ConversionsDefinition(oracle.stellent.wcm.core.definition.conversion.model.ConversionRulesType model)
           

 

Method Summary
 void addConversionRule(ConversionRule rule)
          Remembers a conversion rule
 ConversionRule getConversionRule(java.lang.String name)
          Get the conversionRule
 ConversionRule getConversionRuleByKey(java.lang.String key)
          Get a conversionRule that implements this key.
 oracle.stellent.wcm.core.definition.conversion.model.ConversionRulesType getModel()
           
 java.util.Set<java.lang.String> getRuleNames()
           
 KeysDefinition getRulesByKey()
          returns ConversionRules indexed on the key where the rule will/would stage the conversion.
 void removeConversionRule(java.lang.String name)
          Removes a conversion rule

 

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

 

Field Detail

m_log

protected ILog m_log

Constructor Detail

ConversionsDefinition

public ConversionsDefinition()

ConversionsDefinition

public ConversionsDefinition(oracle.stellent.wcm.core.definition.conversion.model.ConversionRulesType model)

Method Detail

getModel

public oracle.stellent.wcm.core.definition.conversion.model.ConversionRulesType getModel()

getConversionRule

public ConversionRule getConversionRule(java.lang.String name)
Get the conversionRule
Parameters:
name - name of the conversionRule
Returns:
conversionRule or null

getConversionRuleByKey

public ConversionRule getConversionRuleByKey(java.lang.String key)
Get a conversionRule that implements this key. (several rules could map to the same key, but the key is created such that all the rules with the same key will produce the same conversion for a given document.
Parameters:
key -
Returns:

addConversionRule

public void addConversionRule(ConversionRule rule)
Remembers a conversion rule
Parameters:
rule -

getRuleNames

public java.util.Set<java.lang.String> getRuleNames()

removeConversionRule

public void removeConversionRule(java.lang.String name)
Removes a conversion rule
Parameters:
name - name of the conversion rule

getRulesByKey

public KeysDefinition getRulesByKey()
returns ConversionRules indexed on the key where the rule will/would stage the conversion. The key is created in such a way that conversions that produce the same result will use the same key
Returns:
KeyDefinition

Skip navigation links

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

E17273-01


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