jp.ne.dti.lares.foozy.pagemixer
Class ScriptToken
java.lang.Object
|
+--jp.ne.dti.lares.foozy.pagemixer.Token
|
+--jp.ne.dti.lares.foozy.pagemixer.ScriptToken
- All Implemented Interfaces:
- java.io.Serializable
- public class ScriptToken
- extends Token
Token representing script in page.
- Since:
- PageMixer 3.0
- See Also:
- Serialized Form
Constructor Summary |
ScriptToken(java.lang.String text)
Construct token as script with specified text string. |
Method Summary |
boolean |
equals(java.lang.Object object)
Examine object equality. |
java.lang.String |
getText()
Get text of token. |
int |
hashCode()
|
void |
render(SafeWriter writer)
Render text sorrounded
with "<%" and "%>". |
void |
resolve(SymbolSet symbolSet)
This does nothing, because this class has no symbol name. |
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.Token |
createFixed, findAttribute, findAttributes, getAttributes, getAttributeValue, getName, hasAttribute, isEmpty, isEnd, isNamedAs, isStart, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ScriptToken
public ScriptToken(java.lang.String text)
- Construct token as script with specified text string.
- Parameters:
text
- of token
getText
public java.lang.String getText()
- Get text of token.
- Returns:
- text of token
render
public void render(SafeWriter writer)
- Render text sorrounded
with "<%" and "%>".
- Overrides:
render
in class Token
- Following copied from class:
jp.ne.dti.lares.foozy.pagemixer.Token
- Parameters:
writer
- writer written on- Throws:
MixingIOException
- IOException is thrown
resolve
public void resolve(SymbolSet symbolSet)
- This does nothing, because this class has no symbol name.
- Overrides:
resolve
in class Token
- Following copied from class:
jp.ne.dti.lares.foozy.pagemixer.Token
- Parameters:
symbolSet
- set to resolve with
equals
public boolean equals(java.lang.Object object)
- Description copied from class:
Token
- Examine object equality.
This examines:
- Overrides:
equals
in class Token
hashCode
public int hashCode()
- Overrides:
hashCode
in class Token