|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectconvert.xml.tok.TextDecl
public class TextDecl
An XML TextDecl.
| Constructor Summary | |
|---|---|
TextDecl(char[] buf,
int off,
int end)
Creates a TextDecl from the specified char subarray. |
|
| Method Summary | |
|---|---|
java.lang.String |
getEncoding()
Return the encoding specified in the declaration, or null if no encoding was specified. |
java.lang.String |
getVersion()
Return the version specified in the declaration, or null if no version was specified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextDecl(char[] buf,
int off,
int end)
throws InvalidTokenException
TextDecl from the specified char subarray.
The char subarray should be a TOK_XML_DECL token
returned from Tokenizer.tokenizeProlog or Tokenizer.tokenizeContent,
starting with <? and ending with ?>.
InvalidTokenException - if the specified char subarray
is not a legal XML TextDecl.| Method Detail |
|---|
public java.lang.String getEncoding()
public java.lang.String getVersion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||