All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class com.jclark.xml.tok.XmlDecl
java.lang.Object
   |
   +----com.jclark.xml.tok.TextDecl
           |
           +----com.jclark.xml.tok.XmlDecl
  -  public class XmlDecl
  -  extends TextDecl
An XML declaration.
   
  -   XmlDecl(Encoding, byte[], int, int) XmlDecl(Encoding, byte[], int, int)
-   Creates an XMLDeclfrom the specified byte subarray.
   
  -   isStandalone() isStandalone()
-   Returns true if the XML declaration specified
 standalone="yes".
   
 XmlDecl
XmlDecl
 public XmlDecl(Encoding enc,
                byte buf[],
                int off,
                int end) throws InvalidTokenException
  -  Creates an XMLDeclfrom the specified byte subarray.
 The specified encoding is used to convert bytes to characters.
 The byte subarray should be aTOK_XML_DECLtoken
 returned from Encoding.tokenizeProlog or Encoding.tokenizeContent,
 starting with<?and ending with?>.
   
- 
    -  Throws: InvalidTokenException
    
-  if the specified byte subarray
 is not a legal XML declaration.
  
 
   
 isStandalone
isStandalone
 public boolean isStandalone()
  -  Returns true if the XML declaration specified
 standalone="yes".
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index