org.annotation.wordfreak
Class AnnotationSource
java.lang.Object
org.annotation.wordfreak.AnnotationSource
- Direct Known Subclasses:
- TextAnnotationSource
- public abstract class AnnotationSource
- extends java.lang.Object
Represents the sourse data for an annotated file.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
offset
protected int offset
bytes
protected byte[] bytes
encoding
protected java.lang.String encoding
AnnotationSource
public AnnotationSource()
getBytesPerUnit
public abstract int getBytesPerUnit()
getEncoding
public java.lang.String getEncoding()
getBytes
public byte[] getBytes()
getBytes
public byte[] getBytes(int s)
getBytes
public byte[] getBytes(int s,
int l)
getUnits
public byte[] getUnits()
getUnits
public byte[] getUnits(int s)
getUnits
public byte[] getUnits(int s,
int l)
setBytes
public void setBytes(byte[] b)
setBytes
public void setBytes(byte[] b,
int offset,
int length)
getText
public java.lang.String getText()
getText
public java.lang.String getText(int s,
int e)
getByteLength
public int getByteLength()
getUnitLength
public int getUnitLength()
getOffset
public int getOffset()
Copyright © 2004 Thomas Morton and Jeremy LaCivita. All Rights Reserved.