BEA Systems, Inc.


weblogic.apache.xerces.utils
Class ChunkyCharArray

java.lang.Object
  |
  +--weblogic.apache.xerces.utils.ChunkyCharArray

public final class ChunkyCharArray
extends java.lang.Object
implements XMLEntityHandler.CharBuffer

This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.


Constructor Summary
ChunkyCharArray(StringPool stringPool)
          Constructor
 
Method Summary
 int addString(int offset, int length)
           
 int addSymbol(int offset, int length)
          Add a region of this buffer to the StringPool as a symbol
 void append(char ch)
           
 void append(char[] ch, int offset, int length)
           
 void append(ChunkyCharArray charArray, int offset, int length)
          Append a ChunkyCharArray to this buffer.
 void append(java.lang.String s)
          Append a String to this buffer
 int length()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChunkyCharArray

public ChunkyCharArray(StringPool stringPool)
Constructor
Method Detail

length

public int length()
Specified by:
length in interface XMLEntityHandler.CharBuffer


append

public void append(char ch)
Specified by:
append in interface XMLEntityHandler.CharBuffer


append

public void append(java.lang.String s)
Append a String to this buffer

Parameters:
s - the string to append.

append

public void append(char[] ch,
                   int offset,
                   int length)
Specified by:
append in interface XMLEntityHandler.CharBuffer


append

public void append(ChunkyCharArray charArray,
                   int offset,
                   int length)
Append a ChunkyCharArray to this buffer.

Parameters:
charArray - buffer to be appended.
offset - The offset within charArray of the first character.
length - The number of characters to append.

addString

public int addString(int offset,
                     int length)
Specified by:
addString in interface XMLEntityHandler.CharBuffer


addSymbol

public int addSymbol(int offset,
                     int length)
Add a region of this buffer to the StringPool as a symbol

Parameters:
offset - The offset within this buffer of the first character of the string
length - The number of characters in the symbol

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs70

Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
WebLogic Server 7.0 API Reference