public class ContentSegment
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ContentSegment() |
ContentSegment(long offset,
long length) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Get Custom Deserializer
|
long |
getLength()
Gets the length value for this ContentSegment.
|
long |
getOffset()
Gets the offset value for this ContentSegment.
|
static org.apache.axis.encoding.Serializer |
getSerializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Get Custom Serializer
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setLength(long length)
Sets the length value for this ContentSegment.
|
void |
setOffset(long offset)
Sets the offset value for this ContentSegment.
|
public ContentSegment()
public ContentSegment(long offset,
long length)
public long getOffset()
public void setOffset(long offset)
offset - public long getLength()
public void setLength(long length)
length - public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.