コード例 #1
0
 public boolean checkIfValidTargetNode(DOMForest parent, Element bindings, Element target) {
   return WellKnownNamespace.XML_SCHEMA.equals(target.getNamespaceURI());
 }
コード例 #2
0
 protected String findExternalResource(String nsURI, String localName, Attributes atts) {
   if (WellKnownNamespace.XML_SCHEMA.equals(nsURI)
       && ("import".equals(localName) || "include".equals(localName)))
     return atts.getValue("schemaLocation");
   else return null;
 }