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.server.content.spi
Enum Type

java.lang.Object
  extended by java.lang.Enum<Type>
      extended by oracle.stellent.wcm.server.content.spi.Type

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Type>

public enum Type
extends java.lang.Enum<Type>

The types of provider content, based on their internal metadata name.


Enum Constant Summary
ConversionsDefinition
           
CustomConfigurationScript
           
CustomElementForm
           
DataFile
           
ElementDefinition
           
Fragment
           
Image
           
ManagerSettings
           
NativeDocument
           
Other
           
PageTempate
           
PlaceholderDefinition
           
Project
           
RegionDefinition
           
RegionTemplate
           
Script
           
Stylesheet
           
SubTemplate
           
ValidationScript
           

 

Method Summary
static Type getTypeByMetaName(java.lang.String metaName)
           
static boolean isDataFile(Type type)
          Determine if the type represents a datafile
static boolean isDynamicConversionEligibleFile(Type type)
          Determine if the type represents a document to send to dynamic converter or an XML data file.
 java.lang.String metaName()
           
static Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

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

 

Enum Constant Detail

DataFile

public static final Type DataFile

NativeDocument

public static final Type NativeDocument

Fragment

public static final Type Fragment

Image

public static final Type Image

Script

public static final Type Script

Stylesheet

public static final Type Stylesheet

Project

public static final Type Project

CustomElementForm

public static final Type CustomElementForm

CustomConfigurationScript

public static final Type CustomConfigurationScript

ValidationScript

public static final Type ValidationScript

ManagerSettings

public static final Type ManagerSettings

PageTempate

public static final Type PageTempate

SubTemplate

public static final Type SubTemplate

RegionTemplate

public static final Type RegionTemplate

PlaceholderDefinition

public static final Type PlaceholderDefinition

RegionDefinition

public static final Type RegionDefinition

ElementDefinition

public static final Type ElementDefinition

ConversionsDefinition

public static final Type ConversionsDefinition

Other

public static final Type Other

Method Detail

values

public static Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Type c : Type.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

metaName

public java.lang.String metaName()

getTypeByMetaName

public static Type getTypeByMetaName(java.lang.String metaName)

isDynamicConversionEligibleFile

public static boolean isDynamicConversionEligibleFile(Type type)
Determine if the type represents a document to send to dynamic converter or an XML data file.
Parameters:
type - the type
Returns:
true if the type does not represent an XML data file

isDataFile

public static boolean isDataFile(Type type)
Determine if the type represents a datafile
Parameters:
type - the type
Returns:
true if the type represents an XML data file

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.