Best code examples for Java 8 NamespaceSupport class (org.xml.sax.helpers.NamespaceSupport)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Java 8 NamespaceSupport class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Java 8 NamespaceSupport examples from Open Source projects
This code example shows how to use the following methods: declarePrefix, getPrefixes, popContext, pushContext, reset
101:	ns = new NamespaceSupport(); 
-
104:	ns.pushContext(); 
105:	ns.declarePrefix("dc", "http://www.purl.org/dc#"); 
-
110:	ns.reset(); 
-
116:	ns.popContext(); 
-
315:	ArrayList<String> prefixes = Collections.list(ns.getPrefixes()); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: declarePrefix
165:	NamespaceSupport namespaces = new NamespaceSupport(); 
-
168:	XPathUtil.rootElementSteps(null, namespaces); 
-
180:	XPathUtil.rootElementSteps(descriptor, namespaces); 
-
185:	assertEquals(1, XPathUtil.rootElementSteps(descriptor, namespaces).size()); 
186:	XPathUtil.Step step = XPathUtil.rootElementSteps(descriptor, namespaces).get(0); 
-
197:	namespaces.declarePrefix(prefix, name.getNamespaceURI()); 
-
200:	XPathUtil.rootElementSteps(descriptor, namespaces); 
-
205:	assertEquals(1, XPathUtil.rootElementSteps(descriptor, namespaces).size()); 
206:	step = XPathUtil.rootElementSteps(descriptor, namespaces).get(0); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: declarePrefix
61:	namespaces.declarePrefix("inspire_vs", NAMESPACE); 
62:	namespaces.declarePrefix("gml", "http://schemas.opengis.net/gml"); 
-
64:	.declarePrefix("gmd", "http://schemas.opengis.net/iso/19139/20060504/gmd/gmd.xsd"); 
-
66:	.declarePrefix("gco", "http://schemas.opengis.net/iso/19139/20060504/gco/gco.xsd"); 
-
68:	.declarePrefix("srv", "http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd"); 
-
71:	.declarePrefix("inspire_common", "http://inspire.ec.europa.eu/schemas/common/1.0"); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: declarePrefix, getPrefixes, popContext, pushContext, reset
101:	ns = new NamespaceSupport(); 
-
104:	ns.pushContext(); 
105:	ns.declarePrefix("dc", "http://www.purl.org/dc#"); 
-
110:	ns.reset(); 
-
116:	ns.popContext(); 
-
315:	ArrayList<String> prefixes = Collections.list(ns.getPrefixes()); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: declarePrefix
79:	NamespaceSupport namespaces = new NamespaceSupport(); 
80:	namespaces.declarePrefix("gsml", GSMLNS); 
81:	namespaces.declarePrefix("gml", GMLNS); 
82:	ff = new FilterFactoryImplNamespaceAware(namespaces); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getURI
81:	assertEquals("http://bar", ctx.getURI("foo")); 
82:	assertEquals("http://example.com", ctx.getURI("ex")); 
83:	assertEquals("http://geoserver.org", ctx.getURI("gs")); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: declarePrefix
65:	NamespaceSupport namespaces = new NamespaceSupport(); 
66:	namespaces.declarePrefix("gsml", GSML_URI); 
67:	namespaces.declarePrefix("gml", "http://www.opengis.net/gml"); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: declarePrefix
80:	NamespaceSupport namespaces = new NamespaceSupport(); 
81:	namespaces.declarePrefix("gsml", GSMLNS); 
82:	namespaces.declarePrefix("gml", GMLNS); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: declarePrefix
64:	NamespaceSupport namespaces = new NamespaceSupport(); 
65:	namespaces.declarePrefix("gsml", GSML_URI); 
66:	namespaces.declarePrefix("gml", "http://www.opengis.net/gml"); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: declarePrefix
61:	NamespaceSupport namespaces = new NamespaceSupport(); 
62:	namespaces.declarePrefix("wq", name.getNamespaceURI()); 
-
64:	XPath.steps(descriptor, null, namespaces); 
-
73:	assertEquals(1, XPath.steps(descriptor, xpath, namespaces).size()); 
74:	XPath.Step step = (XPath.Step) XPath.steps(descriptor, xpath, namespaces).get(0); 
-
80:	assertEquals(expected, XPath.steps(descriptor, xpath, namespaces)); 
-
84:	assertEquals(expected, XPath.steps(descriptor, xpath, namespaces)); 
-
88:	assertEquals(expected, XPath.steps(descriptor, xpath, namespaces)); 
-
95:	assertEquals(expected, XPath.steps(descriptor, xpath, namespaces)); 
-
101:	assertEquals(expected, XPath.steps(descriptor, xpath, namespaces)); 
-
106:	assertEquals(expected, XPath.steps(descriptor, xpath, namespaces)); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
171:	NamespaceSupport namespaces = new NamespaceSupport(); 
172:	attMapping = new AttributeMapping(null, source, XPath.steps(targetFeature, target, namespaces)); 
-
177:	attMapping = new AttributeMapping(null, source, XPath.steps(targetFeature, target, namespaces)); 
-
182:	attMapping = new AttributeMapping(null, source, XPath.steps(targetFeature, target, namespaces)); 
-
187:	attMapping = new AttributeMapping(null, source, XPath.steps(targetFeature, target, namespaces)); 
-
192:	attMapping = new AttributeMapping(null, source, XPath.steps(targetFeature, target, namespaces)); 
-
197:	attMapping = new AttributeMapping(null, source, XPath.steps(targetFeature, target, namespaces)); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: declarePrefix
55:	namespaces.declarePrefix("inspire_vs", NAMESPACE); 
56:	namespaces.declarePrefix("gml", "http://schemas.opengis.net/gml"); 
-
58:	.declarePrefix("gmd", "http://schemas.opengis.net/iso/19139/20060504/gmd/gmd.xsd"); 
-
60:	.declarePrefix("gco", "http://schemas.opengis.net/iso/19139/20060504/gco/gco.xsd"); 
-
62:	.declarePrefix("srv", "http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd"); 
-
65:	.declarePrefix("inspire_common", "http://inspire.ec.europa.eu/schemas/common/1.0"); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: declarePrefix
34:	NamespaceSupport ns = new NamespaceSupport(); 
35:	ns.declarePrefix("foo", "http://foo"); 
-
37:	binding = new XSQNameBinding(new NamespaceSupportWrapper(ns)); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
170:	NamespaceSupport namespaces = new NamespaceSupport(); 
171:	attMapping = new AttributeMapping(null, source, XPath.steps(targetFeature, target, namespaces)); 
-
176:	attMapping = new AttributeMapping(null, source, XPath.steps(targetFeature, target, namespaces)); 
-
181:	attMapping = new AttributeMapping(null, source, XPath.steps(targetFeature, target, namespaces)); 
-
186:	attMapping = new AttributeMapping(null, source, XPath.steps(targetFeature, target, namespaces)); 
-
191:	attMapping = new AttributeMapping(null, source, XPath.steps(targetFeature, target, namespaces)); 
-
196:	attMapping = new AttributeMapping(null, source, XPath.steps(targetFeature, target, namespaces)); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: declarePrefix
63:	private NamespaceSupport namespaces = new NamespaceSupport(); 
-
66:	namespaces.declarePrefix("ex", EX_NS); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: declarePrefix
29:	NamespaceSupport ns = new NamespaceSupport(); 
30:	ns.declarePrefix("foo", "http://foo"); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: declarePrefix
104:	namespaceSupport = new NamespaceSupport(); 
105:	namespaceSupport.declarePrefix("", name.getNamespaceURI()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: declarePrefix
63:	private NamespaceSupport namespaces = new NamespaceSupport(); 
-
66:	namespaces.declarePrefix("ex", EX_NS); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: declarePrefix
229:	namespaceSupport.declarePrefix("ows", OWS.NAMESPACE); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: declarePrefix, pushContext
128:	namespaces.pushContext(); 
-
131:	namespaces.declarePrefix(prefix, uri); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getURI
36:	uri = namespaces.getURI(""); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: declarePrefix, pushContext
141:	mSupport = new NamespaceSupport (); 
142:	mSupport.pushContext (); 
143:	mSupport.declarePrefix ("", "http://www.w3.org/TR/REC-html40"); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getURI
105:	return nsContext.getURI(""); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
252:	context = new NamespaceSupport(); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getPrefix
47:	return namespaceSupport.getPrefix(namespaceURI); 
Full Snippet Info
5
CodeRank
See Code Examples for Java 8 NamespaceSupport Methods: