com.google.code.mojo.license.document
Enum DocumentType

java.lang.Object
  extended by java.lang.Enum<DocumentType>
      extended by com.google.code.mojo.license.document.DocumentType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DocumentType>

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

Date: 16-Feb-2008
Author: Mathieu Carbou (mathieu.carbou@gmail.com)


Enum Constant Summary
ACTIONSCRIPT
           
ADA_BODY
           
ADA_SPEC
           
ASP
           
ASPECTJ
           
ASSEMBLER
           
C
           
COLDFUSION_COMPONENT
           
COLDFUSION_ML
           
CPP
           
CSHARP
           
CSS
           
DELPHI
           
DOXIA_APT
           
DOXIA_FAQ
           
DTD
           
EIFFEL
           
ERLANG
           
ERLANG_HEADER
           
FORTRAN
           
FREEMARKER
           
GROOVY
           
GSP
           
H
           
HAML
           
HTM
           
HTML
           
JAVA
           
JAVAFX
           
JAVASCRIPT
           
JSP
           
JSPX
           
KML
           
LISP
           
LUA
           
MXML
           
PERL
           
PERL_MODULE
           
PHP
           
POM
           
PROPERTIES
           
PYTHON
           
RUBY
           
SCALA
           
SCAML
           
SHELL
           
SQL
           
TXT
           
UNKNOWN
           
VB
           
VELOCITY
           
WINDOWS_BATCH
           
WINDOWS_SHELL
           
XHTML
           
XML
           
XSD
           
XSL
           
 
Method Summary
static java.util.Map<java.lang.String,java.lang.String> defaultMapping()
           
 HeaderType getDefaultHeaderType()
           
 java.lang.String getDefaultHeaderTypeName()
           
 java.lang.String getExtension()
           
static DocumentType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DocumentType[] 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

JAVA

public static final DocumentType JAVA

GROOVY

public static final DocumentType GROOVY

JAVASCRIPT

public static final DocumentType JAVASCRIPT

CSS

public static final DocumentType CSS

CSHARP

public static final DocumentType CSHARP

ACTIONSCRIPT

public static final DocumentType ACTIONSCRIPT

ASPECTJ

public static final DocumentType ASPECTJ

C

public static final DocumentType C

CPP

public static final DocumentType CPP

H

public static final DocumentType H

SCALA

public static final DocumentType SCALA

JAVAFX

public static final DocumentType JAVAFX

POM

public static final DocumentType POM

XML

public static final DocumentType XML

XHTML

public static final DocumentType XHTML

MXML

public static final DocumentType MXML

DTD

public static final DocumentType DTD

XSD

public static final DocumentType XSD

DOXIA_FAQ

public static final DocumentType DOXIA_FAQ

XSL

public static final DocumentType XSL

HTML

public static final DocumentType HTML

HTM

public static final DocumentType HTM

JSPX

public static final DocumentType JSPX

KML

public static final DocumentType KML

GSP

public static final DocumentType GSP

DOXIA_APT

public static final DocumentType DOXIA_APT

PROPERTIES

public static final DocumentType PROPERTIES

SHELL

public static final DocumentType SHELL

PYTHON

public static final DocumentType PYTHON

RUBY

public static final DocumentType RUBY

PERL

public static final DocumentType PERL

PERL_MODULE

public static final DocumentType PERL_MODULE

TXT

public static final DocumentType TXT

WINDOWS_BATCH

public static final DocumentType WINDOWS_BATCH

WINDOWS_SHELL

public static final DocumentType WINDOWS_SHELL

SQL

public static final DocumentType SQL

ADA_BODY

public static final DocumentType ADA_BODY

ADA_SPEC

public static final DocumentType ADA_SPEC

EIFFEL

public static final DocumentType EIFFEL

JSP

public static final DocumentType JSP

ASP

public static final DocumentType ASP

PHP

public static final DocumentType PHP

VELOCITY

public static final DocumentType VELOCITY

FREEMARKER

public static final DocumentType FREEMARKER

ASSEMBLER

public static final DocumentType ASSEMBLER

COLDFUSION_COMPONENT

public static final DocumentType COLDFUSION_COMPONENT

COLDFUSION_ML

public static final DocumentType COLDFUSION_ML

DELPHI

public static final DocumentType DELPHI

ERLANG

public static final DocumentType ERLANG

ERLANG_HEADER

public static final DocumentType ERLANG_HEADER

FORTRAN

public static final DocumentType FORTRAN

LISP

public static final DocumentType LISP

LUA

public static final DocumentType LUA

HAML

public static final DocumentType HAML

SCAML

public static final DocumentType SCAML

VB

public static final DocumentType VB

UNKNOWN

public static final DocumentType UNKNOWN
Method Detail

values

public static DocumentType[] 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 (DocumentType c : DocumentType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DocumentType 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

getExtension

public java.lang.String getExtension()

getDefaultHeaderType

public HeaderType getDefaultHeaderType()

getDefaultHeaderTypeName

public java.lang.String getDefaultHeaderTypeName()

defaultMapping

public static java.util.Map<java.lang.String,java.lang.String> defaultMapping()


Copyright © 2008-2010 Mathieu Carbou. All Rights Reserved.