|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
fr.fluxmedia.tmcontrib.serializer.vcsHandler
final class vcsHandler
Description of the Class
Field Summary | |
---|---|
private boolean |
composed
True if we must |
private java.lang.String |
composedValue
The value of the composed value |
protected java.util.Vector |
composedVector
All the elements which require a Begin/End |
private boolean |
encode
True if we must |
private java.lang.String |
encoding
The value of the encoding parameter |
protected java.io.PrintStream |
output
The OutputStream used by this serializer. |
protected java.util.Vector |
vcsVector
All the elements which require a Begin/End |
Constructor Summary | |
---|---|
vcsHandler(boolean card)
Constructor for the vcsHandler object |
Method Summary | |
---|---|
void |
characters(char[] ch,
int start,
int length)
The characters command |
private java.lang.String |
encoder(java.lang.String s,
java.lang.String encoding)
Description of the Method |
void |
endElement(java.lang.String ns,
java.lang.String localName,
java.lang.String name)
The endElement command |
void |
setOutputStream(java.io.OutputStream out)
Set the OutputStream where the PDI should be writted. |
void |
startElement(java.lang.String ns,
java.lang.String localName,
java.lang.String name,
org.xml.sax.Attributes atts)
The startElement command |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.io.PrintStream output
protected java.util.Vector vcsVector
protected java.util.Vector composedVector
private boolean composed
private java.lang.String composedValue
private boolean encode
private java.lang.String encoding
Constructor Detail |
---|
public vcsHandler(boolean card)
card
- Description of the ParameterMethod Detail |
---|
public void setOutputStream(java.io.OutputStream out)
out
- The new outputStream valuepublic void startElement(java.lang.String ns, java.lang.String localName, java.lang.String name, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
ns
- Description of the ParameterlocalName
- Description of the Parametername
- Description of the Parameteratts
- Description of the Parameter
org.xml.sax.SAXException
- Description of the Exceptionpublic void endElement(java.lang.String ns, java.lang.String localName, java.lang.String name) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
ns
- Description of the ParameterlocalName
- Description of the Parametername
- Description of the Parameter
org.xml.sax.SAXException
- Description of the Exceptionpublic void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
ch
- Description of the Parameterstart
- Description of the Parameterlength
- Description of the Parameter
org.xml.sax.SAXException
- Description of the Exceptionprivate java.lang.String encoder(java.lang.String s, java.lang.String encoding)
s
- Description of the Parameterencoding
- Description of the Parameter
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |