Package com.volantis.mcs.pickle

Examples of com.volantis.mcs.pickle.PickleInlineAttributes


    /* (non-Javadoc)
     * @see com.volantis.mcs.marlin.sax.MarlinElementHandler#createPAPIAttributes
     * (com.volantis.mcs.marlin.sax.PAPIContentHandlerContext)
     */
    public PAPIAttributes createPAPIAttributes(PAPIContentHandlerContext context) {       
        return new PickleInlineAttributes();
    }
View Full Code Here


     */
    public void initializePAPIAttributes(PAPIContentHandlerContext context,
        Attributes saxAttributes, PAPIAttributes papiAttributes)
        throws SAXException {
               
        PickleInlineAttributes attributes =
            (PickleInlineAttributes)papiAttributes;
   
        attributes.setElementName(elementName);
        if (logger.isDebugEnabled()) {
            logger.debug("setElementName (" + elementName + ")");
        }       
       
        Map attrsMap = new HashMap();
        for (int i = 0; i < saxAttributes.getLength(); i++) {
            String name = saxAttributes.getLocalName(i);                   
            String value = saxAttributes.getValue(i);
            attrsMap.put(name, value);
           
            if (logger.isDebugEnabled ()) {
              logger.debug ("setAttributes (" + name + "=" + value + ")");
            }
        }
        attributes.setAttributes(attrsMap);
    }
View Full Code Here

    // Javadoc inherited from super class.
    public int elementEnd(MarinerRequestContext context,
        PAPIAttributes papiAttributes)
        throws PAPIException {
        // Make sure that the attributes are of the correct type.
        PickleInlineAttributes attributes=(PickleInlineAttributes)papiAttributes;

        // The super class will call the protocol.
        return super.elementEnd(context, papiAttributes);
    }
View Full Code Here

    // Javadoc inherited from super class.
    public int elementStart(MarinerRequestContext context,
        PAPIAttributes papiAttributes)
        throws PAPIException {
        // Make sure that the attributes are of the correct type.
        PickleInlineAttributes attributes=(PickleInlineAttributes)papiAttributes;

        // The super class will handle initialising the protocol attributes and
        // calling the protocol.
        return super.elementStart(context, papiAttributes);
    }
View Full Code Here

  public int elementStart (MarinerRequestContext context,
                           PAPIAttributes papiAttributes)
    throws PAPIException {

    // Make sure that the attributes are of the correct type.
    PickleInlineAttributes attributes
      = (PickleInlineAttributes) papiAttributes;
   
    // The super class will handle initialising the protocol attributes and
    // calling the protocol.
    return super.elementStart (context, papiAttributes);
View Full Code Here

  public int elementEnd (MarinerRequestContext context,
                         PAPIAttributes papiAttributes)
    throws PAPIException {
   
    // Make sure that the attributes are of the correct type.
    PickleInlineAttributes attributes
      = (PickleInlineAttributes) papiAttributes;
   
    // The super class will call the protocol.
    return super.elementEnd (context, papiAttributes);
  }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.pickle.PickleInlineAttributes

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.