Package org.apache.commons.betwixt

Examples of org.apache.commons.betwixt.TestMultipleCollectionMappings$Node3


   public void startDocument(XMLLocator locator, String encoding, Augmentations augs) throws XNIException {
     //super.startDocument( versionIndex, encodingIndex,
     //                               standAloneIndex);
     super.startDocument(locator, encoding, augs);
     this.locator = locator;
     Node3 node = null ;
      try {
      node = (Node3) this.getProperty( "http://apache.org/xml/properties/dom/current-element-node" );
      //System.out.println( "The node = " + node );
      }
     catch( org.xml.sax.SAXException ex )
      {
        System.err.println( "except" + ex );;
      }
    
//     NodeImpl node = (NodeImpl)getCurrentNode();       // Get current node
     if( node != null )
          node.setUserData( "startLine", String.valueOf( locator.getLineNumber() ), null ); // Save location String into node
  } //startDocument
View Full Code Here

TOP

Related Classes of org.apache.commons.betwixt.TestMultipleCollectionMappings$Node3

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.