org.enhydra.barracuda.contrib.sam.xmlform.dtd
Class Ref_idImpl

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byorg.enhydra.barracuda.contrib.sam.xmlform.dtd.Ref_idImpl
All Implemented Interfaces:
Cloneable, ContentHandler, DTDHandler, EntityResolver, ErrorHandler, LexicalHandler, Ref_id, Serializable, Unmarshallable

public class Ref_idImpl
extends DefaultHandler
implements Cloneable, Unmarshallable, LexicalHandler, Ref_id

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.enhydra.barracuda.contrib.sam.xmlform.dtd.Ref_id
ZEUS_ATTRIBUTES, ZEUS_ELEMENTS, ZEUS_XML_NAME
 
Constructor Summary
Ref_idImpl()
           
 
Method Summary
 void characters(char[] ch, int start, int len)
           
 void comment(char[] ch, int start, int len)
           
 void endCDATA()
           
 void endDTD()
           
 void endElement(String namespaceURI, String localName, String qName)
           
 void endEntity(String name)
           
 void error(SAXParseException e)
           
 void fatalError(SAXParseException e)
           
 Unmarshallable getCurrentUNode()
           
 String getId()
           
 String getInput_id()
           
 String getLabel_id()
           
 String getName_id()
           
 Unmarshallable getParentUNode()
           
 String getType()
           
 void marshal(File file)
           
 void marshal(OutputStream outputStream)
           
 void marshal(Writer writer)
           
static Ref_idImpl newInstance()
           
 void setCurrentUNode(Unmarshallable currentUNode)
           
 void setDocType(String name, String publicID, String systemID)
           
 void setDocumentLocator(Locator locator)
           
static void setEntityResolver(EntityResolver resolver)
           This sets a SAX EntityResolver for this unmarshalling process.
static void setErrorHandler(ErrorHandler handler)
           This sets a SAX ErrorHandler for this unmarshalling process.
 void setId(String id)
           
 void setInput_id(String input_id)
           
 void setLabel_id(String label_id)
           
 void setName_id(String name_id)
           
 void setOutputEncoding(String outputEncoding)
           
 void setParentUNode(Unmarshallable parentUNode)
           
static void setPrototype(Ref_idImpl prototype)
           
 void setType(String type)
           
 void setValidating(boolean validate)
           
 void startCDATA()
           
 void startDocument()
           
 void startDTD(String name, String publicID, String systemID)
           
 void startElement(String namespaceURI, String localName, String qName, Attributes atts)
           
 void startEntity(String name)
           
 void startPrefixMapping(String prefix, String uri)
           
static Ref_id unmarshal(File file)
           
static Ref_id unmarshal(File file, boolean validate)
           
static Ref_id unmarshal(InputStream inputStream)
           
static Ref_id unmarshal(InputStream inputStream, boolean validate)
           
static Ref_id unmarshal(Reader reader)
           
static Ref_id unmarshal(Reader reader, boolean validate)
           
 void warning(SAXParseException e)
           
protected  void writeXMLRepresentation(Writer writer, String indent)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, unparsedEntityDecl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.ContentHandler
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, skippedEntity
 

Constructor Detail

Ref_idImpl

public Ref_idImpl()
Method Detail

setPrototype

public static void setPrototype(Ref_idImpl prototype)

newInstance

public static Ref_idImpl newInstance()

getInput_id

public String getInput_id()
Specified by:
getInput_id in interface Ref_id

setInput_id

public void setInput_id(String input_id)
Specified by:
setInput_id in interface Ref_id

getType

public String getType()
Specified by:
getType in interface Ref_id

setType

public void setType(String type)
             throws IllegalArgumentException
Specified by:
setType in interface Ref_id
Throws:
IllegalArgumentException

getLabel_id

public String getLabel_id()
Specified by:
getLabel_id in interface Ref_id

setLabel_id

public void setLabel_id(String label_id)
Specified by:
setLabel_id in interface Ref_id

getName_id

public String getName_id()
Specified by:
getName_id in interface Ref_id

setName_id

public void setName_id(String name_id)
Specified by:
setName_id in interface Ref_id

getId

public String getId()
Specified by:
getId in interface Ref_id

setId

public void setId(String id)
Specified by:
setId in interface Ref_id

setDocType

public void setDocType(String name,
                       String publicID,
                       String systemID)
Specified by:
setDocType in interface Ref_id

setOutputEncoding

public void setOutputEncoding(String outputEncoding)
Specified by:
setOutputEncoding in interface Ref_id

marshal

public void marshal(File file)
             throws IOException
Specified by:
marshal in interface Ref_id
Throws:
IOException

marshal

public void marshal(OutputStream outputStream)
             throws IOException
Specified by:
marshal in interface Ref_id
Throws:
IOException

marshal

public void marshal(Writer writer)
             throws IOException
Specified by:
marshal in interface Ref_id
Throws:
IOException

writeXMLRepresentation

protected void writeXMLRepresentation(Writer writer,
                                      String indent)
                               throws IOException
Throws:
IOException

setEntityResolver

public static void setEntityResolver(EntityResolver resolver)

This sets a SAX EntityResolver for this unmarshalling process.

Parameters:
resolver - the entity resolver to use.

setErrorHandler

public static void setErrorHandler(ErrorHandler handler)

This sets a SAX ErrorHandler for this unmarshalling process.

Parameters:
handler - the entity resolver to use.

unmarshal

public static Ref_id unmarshal(File file)
                        throws IOException
Throws:
IOException

unmarshal

public static Ref_id unmarshal(File file,
                               boolean validate)
                        throws IOException
Throws:
IOException

unmarshal

public static Ref_id unmarshal(InputStream inputStream)
                        throws IOException
Throws:
IOException

unmarshal

public static Ref_id unmarshal(InputStream inputStream,
                               boolean validate)
                        throws IOException
Throws:
IOException

unmarshal

public static Ref_id unmarshal(Reader reader)
                        throws IOException
Throws:
IOException

unmarshal

public static Ref_id unmarshal(Reader reader,
                               boolean validate)
                        throws IOException
Throws:
IOException

getParentUNode

public Unmarshallable getParentUNode()
Specified by:
getParentUNode in interface Unmarshallable

setParentUNode

public void setParentUNode(Unmarshallable parentUNode)
Specified by:
setParentUNode in interface Unmarshallable

getCurrentUNode

public Unmarshallable getCurrentUNode()
Specified by:
getCurrentUNode in interface Unmarshallable

setCurrentUNode

public void setCurrentUNode(Unmarshallable currentUNode)
Specified by:
setCurrentUNode in interface Unmarshallable

setValidating

public void setValidating(boolean validate)

startDocument

public void startDocument()
                   throws SAXException
Specified by:
startDocument in interface ContentHandler
Throws:
SAXException

setDocumentLocator

public void setDocumentLocator(Locator locator)
Specified by:
setDocumentLocator in interface ContentHandler

startPrefixMapping

public void startPrefixMapping(String prefix,
                               String uri)
                        throws SAXException
Specified by:
startPrefixMapping in interface ContentHandler
Throws:
SAXException

startElement

public void startElement(String namespaceURI,
                         String localName,
                         String qName,
                         Attributes atts)
                  throws SAXException
Specified by:
startElement in interface ContentHandler
Throws:
SAXException

endElement

public void endElement(String namespaceURI,
                       String localName,
                       String qName)
                throws SAXException
Specified by:
endElement in interface ContentHandler
Throws:
SAXException

characters

public void characters(char[] ch,
                       int start,
                       int len)
                throws SAXException
Specified by:
characters in interface ContentHandler
Throws:
SAXException

comment

public void comment(char[] ch,
                    int start,
                    int len)
             throws SAXException
Specified by:
comment in interface LexicalHandler
Throws:
SAXException

warning

public void warning(SAXParseException e)
             throws SAXException
Specified by:
warning in interface ErrorHandler
Throws:
SAXException

error

public void error(SAXParseException e)
           throws SAXException
Specified by:
error in interface ErrorHandler
Throws:
SAXException

fatalError

public void fatalError(SAXParseException e)
                throws SAXException
Specified by:
fatalError in interface ErrorHandler
Throws:
SAXException

startDTD

public void startDTD(String name,
                     String publicID,
                     String systemID)
              throws SAXException
Specified by:
startDTD in interface LexicalHandler
Throws:
SAXException

endDTD

public void endDTD()
            throws SAXException
Specified by:
endDTD in interface LexicalHandler
Throws:
SAXException

startEntity

public void startEntity(String name)
                 throws SAXException
Specified by:
startEntity in interface LexicalHandler
Throws:
SAXException

endEntity

public void endEntity(String name)
               throws SAXException
Specified by:
endEntity in interface LexicalHandler
Throws:
SAXException

startCDATA

public void startCDATA()
                throws SAXException
Specified by:
startCDATA in interface LexicalHandler
Throws:
SAXException

endCDATA

public void endCDATA()
              throws SAXException
Specified by:
endCDATA in interface LexicalHandler
Throws:
SAXException


Copyright © 2003 BarracudaMVC.org All Rights Reserved.