public final class TOutputMethod
extends java.lang.Object
TOutputMethod represents the method parameter for the serialization specification. It provides type safe constant objects representing the possible settings for the method parameter.
Modifier and Type | Field and Description |
---|---|
static TOutputMethod |
INODOCUMENT
Constant that represents output method=ino:document in serialization specification.
|
static TOutputMethod |
TEXT
Constant that represents output method=text in serialization specification.
|
static TOutputMethod |
XML
Constant that represents output method=xml in serialization specification.
|
Modifier | Constructor and Description |
---|---|
protected |
TOutputMethod(java.lang.String description)
Protected Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
int |
hashCode()
Returns a hash code value for the object.
|
java.lang.String |
toString()
Returns the string representation of a TOutputMethod object.
|
public static final TOutputMethod XML
e.g. {?serialization method="xml"?}
public static final TOutputMethod TEXT
e.g. {?serialization method="text"?}
public static final TOutputMethod INODOCUMENT
e.g. {?serialization method="ino:document"?}
protected TOutputMethod(java.lang.String description)
description
- the description for the method parameterpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- - the reference object with which to compare.public int hashCode()
hashCode
in class java.lang.Object
Copyright (c) 2017 Software AG. All Rights Reserved.