public enum StackTraceElementMarshaller extends Enum<StackTraceElementMarshaller> implements ProtoStreamMarshaller<StackTraceElement>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends StackTraceElement> |
getJavaClass()
Returns the type of object handled by this marshallable instance.
|
StackTraceElement |
readFrom(ProtoStreamReader reader)
Reads an object from the specified reader.
|
static StackTraceElementMarshaller |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StackTraceElementMarshaller[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeTo(ProtoStreamWriter writer,
StackTraceElement element)
Writes the specified object to the specified writer.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetTypeName, read, writepublic static final StackTraceElementMarshaller INSTANCE
public static StackTraceElementMarshaller[] values()
for (StackTraceElementMarshaller c : StackTraceElementMarshaller.values()) System.out.println(c);
public static StackTraceElementMarshaller valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic StackTraceElement readFrom(ProtoStreamReader reader) throws IOException
MarshallablereadFrom in interface Marshallable<StackTraceElement>reader - a ProtoStream readerIOException - if the object could not be readpublic void writeTo(ProtoStreamWriter writer, StackTraceElement element) throws IOException
MarshallablewriteTo in interface Marshallable<StackTraceElement>writer - a ProtoStream writerelement - the object to be writtenIOException - if the object could not be writtenpublic Class<? extends StackTraceElement> getJavaClass()
MarshallablegetJavaClass in interface org.infinispan.protostream.BaseMarshaller<StackTraceElement>getJavaClass in interface Marshallable<StackTraceElement>Copyright © 2021 JBoss by Red Hat. All rights reserved.