public java.lang.String toString()
toString
in class java.lang.Object
public void saveFragmentAsElement(org.xml.sax.ContentHandler handler, org.xml.sax.ext.LexicalHandler lexHandler, boolean formatted) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.xml.sax.Attributes getAttributesForElement() throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void populateDataForElement(org.xml.sax.ContentHandler handler, org.xml.sax.ext.LexicalHandler lexHandler, boolean formatted) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void saveFragmentAsAttribute(org.xml.sax.helpers.AttributesImpl attr, boolean formatted) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public boolean isElement()
protected abstract int getXMLPresentmentType()
|
CredibleXML v1.5 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
CredibleXML v1.5 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.crediware.crediblexml.coredef.DataElement | +--com.crediware.crediblexml.coredef.DataField | +--com.crediware.crediblexml.coredef.DataLayoutField | +--com.crediware.crediblexml.coredef.DataFieldBinary
Copyright (c) 2001-2002 Crediware LLC. Purpose: This class incapsulate binary field behavior for corresponding document element defined in the GUI. Returned by data accessor method generated by GUI tool.
Constructor Summary | |
DataFieldBinary(DataSegment container,
MetaData metaData,
IExternalDataProvider dataProvider,
java.lang.String value)
constructor creates data element with specified parameters |
Method Summary | |
protected org.xml.sax.Attributes |
getAttributesForElement()
get the attributes when saving this fragment to XML as a separate element by default returns empty attribute |
java.lang.String |
getBase64Value()
get value of the field encoded as Base64 |
protected int |
getBinaryType()
Get binary type |
java.lang.String |
getHexValue()
get value of the field encoded as Hex |
java.lang.String |
getLexicalValue(boolean formatted)
get lexical value of the field: how it'll be represented in XML |
protected int |
getXMLPresentmentType()
Get XML Presentment Type (always element) |
void |
saveFragmentAsAttribute(org.xml.sax.helpers.AttributesImpl attr,
boolean formatted)
save the content to XML |
Methods inherited from class com.crediware.crediblexml.coredef.DataLayoutField |
getFieldMetaData, isVisibleInXML |
Methods inherited from class com.crediware.crediblexml.coredef.DataField |
getFormattedValue, getValue, isElement, populateDataForElement, saveFragmentAsElement, setValue, toString |
Methods inherited from class com.crediware.crediblexml.coredef.DataElement |
getDataProvider, getEmptyAttribute, getMetaData, getName, getParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DataFieldBinary(DataSegment container, MetaData metaData, IExternalDataProvider dataProvider, java.lang.String value)
Method Detail |
public java.lang.String getBase64Value()
public java.lang.String getHexValue()
public java.lang.String getLexicalValue(boolean formatted)
getLexicalValue</