public class XMLModelDeclaration 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 |
---|
XMLModelDeclaration() |
Modifier and Type | Method and Description |
---|---|
String |
getHref()
Returns the location of the referenced schema
|
int |
getHrefOffset()
Returns the start offset where href is declared.
|
static XMLModelDeclaration |
parse(char[] data,
int offset,
int length)
Returns the result of parse the data of xml-model processing insruction.
|
static XMLModelDeclaration |
parse(org.apache.xerces.xni.XMLString data) |
void |
setHref(String href)
Set the location of the referenced schema
|
void |
setHrefOffset(int hrefOffset)
Set the start offset where href is declared.
|
public String getHref()
public void setHref(String href)
href
- the location of the referenced schemapublic int getHrefOffset()
public void setHrefOffset(int hrefOffset)
hrefOffset
- the start offset where href is declaredpublic static XMLModelDeclaration parse(org.apache.xerces.xni.XMLString data)
public static XMLModelDeclaration parse(char[] data, int offset, int length)
data
- the xml-model processing instruction content data.offset
- the offsetlength
- the lengthCopyright © 2022. All rights reserved.