public class XMLModel extends Object
<?xml-model href="http://www.docbook.org/xml/5.0/xsd/docbook.xsd"?>
https://www.w3.org/TR/xml-model/| Constructor and Description |
|---|
XMLModel(DOMProcessingInstruction processingInstruction) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHref()
Returns the location of the referenced schema
|
DOMRange |
getHrefNode()
Returns the href range and null otherwise.
|
static boolean |
isXMLModel(DOMNode node)
Returns true if the given node is a xml-model processing instruction and
false otherwise.
|
public XMLModel(DOMProcessingInstruction processingInstruction)
public String getHref()
public static boolean isXMLModel(DOMNode node)
node - the DOM node.public DOMRange getHrefNode()
Copyright © 2020. All rights reserved.