pl.slawas.xml
Enum XMLDocumentTypeDefinition.DTDType

java.lang.Object
  extended by java.lang.Enum<XMLDocumentTypeDefinition.DTDType>
      extended by pl.slawas.xml.XMLDocumentTypeDefinition.DTDType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<XMLDocumentTypeDefinition.DTDType>
Enclosing class:
XMLDocumentTypeDefinition

public static enum XMLDocumentTypeDefinition.DTDType
extends java.lang.Enum<XMLDocumentTypeDefinition.DTDType>

DTDType - typ dokumentu DTD

Version:
$Revision: 1.1 $
Author:
Slawomir Cichy <slawas@slawas.pl>

Enum Constant Summary
PUBLIC
          dokument publiczny
SYSTEM
          dokument systemowy
 
Method Summary
 java.lang.String getDocTypeKey()
          DTD podczas używania DOM API zwraca odpowiednią wartość klucza.
static XMLDocumentTypeDefinition.DTDType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static XMLDocumentTypeDefinition.DTDType[] 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

SYSTEM

public static final XMLDocumentTypeDefinition.DTDType SYSTEM
dokument systemowy


PUBLIC

public static final XMLDocumentTypeDefinition.DTDType PUBLIC
dokument publiczny

Method Detail

values

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

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

valueOf

public static XMLDocumentTypeDefinition.DTDType 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

getDocTypeKey

public java.lang.String getDocTypeKey()
DTD podczas używania DOM API zwraca odpowiednią wartość klucza.

Returns:
możliwe wartośi: OutputKeys.DOCTYPE_PUBLIC albo OutputKeys.DOCTYPE_SYSTEM
See Also:
OutputKeys


Copyright © 2014 Sci Software. All Rights Reserved.