edu.harvard.hul.ois.jhove.module.pdf
Class StringValuedToken
java.lang.Object
edu.harvard.hul.ois.jhove.module.pdf.Token
edu.harvard.hul.ois.jhove.module.pdf.StringValuedToken
- Direct Known Subclasses:
- Comment, Keyword, Literal, Name
public abstract class StringValuedToken
- extends Token
Abstract class for all PDF tokens which consist of a character sequence.
Field Summary |
protected java.util.Vector |
_rawBytes
|
protected java.lang.String |
_value
|
Method Summary |
java.util.Vector |
getRawBytes()
Get the value of the token's untranslated bytes. |
java.lang.String |
getValue()
Get the value of the token as a String. |
void |
setValue(java.lang.String value)
Set the value of the token. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_value
protected java.lang.String _value
_rawBytes
protected java.util.Vector _rawBytes
StringValuedToken
public StringValuedToken()
getValue
public java.lang.String getValue()
- Get the value of the token as a String.
getRawBytes
public java.util.Vector getRawBytes()
- Get the value of the token's untranslated bytes. This is unsupported
and will always return null.
setValue
public void setValue(java.lang.String value)
- Set the value of the token.