|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.lib.ByteArray
public class ByteArray
This class defines a collection of byte
s.
Constructor Summary | |
---|---|
ByteArray()
Constructs an empty collection. |
|
ByteArray(byte[] bytes)
Constructs a new collection using the specified byte array. |
Method Summary | |
---|---|
java.lang.Object |
createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
For internal use only. |
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
void |
fromString(java.lang.String arrayValue)
Populates the collection list with data from a string. |
byte[] |
getBytes()
Returns an array of byte s. |
boolean |
hasContent(java.lang.Object obj)
|
void |
readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only. |
boolean |
readElementCharacters(java.lang.String eleName,
char[] ch,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only. |
void |
save(java.lang.String fileName)
For internal use only. |
void |
save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
For internal use only. |
void |
save(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only. |
java.lang.String |
toString()
Returns the collection as a String . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ByteArray()
Constructs an empty collection.
public ByteArray(byte[] bytes)
Constructs a new collection using the specified byte
array.
bytes
- The byte
array to be used.Method Detail |
---|
public java.lang.Object createMember(java.lang.String eleName, org.xml.sax.Attributes attrs, XMLSerializationContext ctxt, java.util.Map objState, boolean[] bLoaded)
For internal use only.
public void endElement(java.lang.String eleName, java.util.Map objState)
For internal use only.
public boolean hasContent(java.lang.Object obj)
public void fromString(java.lang.String arrayValue)
IByteArray
Populates the collection list with data from a string. The string should be in the format valueX="<Value>". Values are separated by a comma. For example: value1="1",value2="No",value3="3.141".
fromString
in interface IByteArray
arrayValue
- The string that will be used to populate the collection's array.public byte[] getBytes()
IByteArray
Returns an array of byte
s.
getBytes
in interface IByteArray
byte
s.public void readElement(java.lang.String eleName, java.lang.String sVal, org.xml.sax.Attributes attrs, java.util.Map objState)
For internal use only.
public boolean readElementCharacters(java.lang.String eleName, char[] ch, org.xml.sax.Attributes attrs, java.util.Map objState)
For internal use only.
public void save(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public void save(XMLWriter writer, java.lang.String sTag, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public void save(java.lang.String fileName)
For internal use only.
public void saveContents(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public void startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
For internal use only.
public java.lang.String toString()
IByteArray
Returns the collection as a String
.
toString
in interface IByteArray
toString
in class java.lang.Object
String
containing the values in this collection.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |