Package org.apache.xml.dtm.ref

Examples of org.apache.xml.dtm.ref.NodeLocator


  {
    if (m_useSourceLocationProperty)
    {
      node = makeNodeIdentity(node);
     
      return new NodeLocator(null,
                             m_sourceSystemId.elementAt(node),
                             m_sourceLine.elementAt(node),
                             m_sourceColumn.elementAt(node));
    }
    else if(m_locator!=null)
    {
      return new NodeLocator(null,m_locator.getSystemId(),-1,-1);
    }
    else if(m_systemId!=null)
    {
      return new NodeLocator(null,m_systemId,-1,-1);
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of org.apache.xml.dtm.ref.NodeLocator

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.