BEA Systems, Inc.

BEA WebLogic Server 9.1 API Reference


weblogic.apache.xerces.impl
Class XMLEntityManager.ScannedEntity

java.lang.Object
  extended byweblogic.apache.xerces.impl.XMLEntityManager.Entity
      extended byweblogic.apache.xerces.impl.XMLEntityManager.ScannedEntity
Enclosing class:
XMLEntityManager

protected class XMLEntityManager.ScannedEntity
extends XMLEntityManager.Entity

Entity state.


Field Summary
 char[] ch
          Character buffer.
 int columnNumber
          Column number.
 int count
          Count of characters in buffer.
 String encoding
          Auto-detected encoding.
 XMLResourceIdentifier entityLocation
          entity location information
 boolean isExternal
           
 int lineNumber
          Line number.
 boolean literal
          True if in a literal.
 boolean mayReadChunks
           
 int position
          Position in character buffer.
 Reader reader
          Reader.
 InputStream stream
          Input stream.
 
Fields inherited from class weblogic.apache.xerces.impl.XMLEntityManager.Entity
name
 
Constructor Summary
XMLEntityManager.ScannedEntity(String name, XMLResourceIdentifier entityLocation, InputStream stream, Reader reader, String encoding, boolean literal, boolean mayReadChunks, boolean isExternal)
          Constructs a scanned entity.
 
Method Summary
 boolean isExternal()
          Returns true if this is an external entity.
 boolean isUnparsed()
          Returns true if this is an unparsed entity.
 String toString()
          Returns a string representation of this object.
 
Methods inherited from class weblogic.apache.xerces.impl.XMLEntityManager.Entity
clear, setValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ch

public char[] ch
Character buffer.


columnNumber

public int columnNumber
Column number.


count

public int count
Count of characters in buffer.


encoding

public String encoding
Auto-detected encoding.


entityLocation

public XMLResourceIdentifier entityLocation
entity location information


isExternal

public boolean isExternal

lineNumber

public int lineNumber
Line number.


literal

public boolean literal
True if in a literal.


mayReadChunks

public boolean mayReadChunks

position

public int position
Position in character buffer.


reader

public Reader reader
Reader.


stream

public InputStream stream
Input stream.

Constructor Detail

XMLEntityManager.ScannedEntity

public XMLEntityManager.ScannedEntity(String name,
                                      XMLResourceIdentifier entityLocation,
                                      InputStream stream,
                                      Reader reader,
                                      String encoding,
                                      boolean literal,
                                      boolean mayReadChunks,
                                      boolean isExternal)
Constructs a scanned entity.

Method Detail

isExternal

public final boolean isExternal()
Returns true if this is an external entity.

Specified by:
isExternal in class XMLEntityManager.Entity

isUnparsed

public final boolean isUnparsed()
Returns true if this is an unparsed entity.

Specified by:
isUnparsed in class XMLEntityManager.Entity

toString

public String toString()
Returns a string representation of this object.


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs91
Copyright 2005 BEA Systems Inc.