get XPath Factory - Java XML

Java examples for XML:XPath

Description

get XPath Factory

Demo Code

// This program is free software; you can redistribute it and/or modify it
//package com.java2s;

import javax.xml.xpath.*;

public class Main {
    public static void main(String[] argv) throws Exception {
        System.out.println(getXPathFactory());
    }//from   www .j a va 2  s . c o m

    public static XPathFactory getXPathFactory() {
        return XPathFactory.newInstance();
    }
}

Related Tutorials