Package com.nwalsh.sinclude
Class XInclude
java.lang.Object
com.nwalsh.sinclude.XInclude
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static interface
private class
private static class
private class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final net.sf.saxon.s9api.QName
private static final net.sf.saxon.s9api.QName
private static final net.sf.saxon.s9api.QName
private static final net.sf.saxon.s9api.QName
private static final net.sf.saxon.s9api.QName
private static final net.sf.saxon.s9api.QName
private static final net.sf.saxon.s9api.QName
private static final net.sf.saxon.s9api.QName
private static final Pattern
private boolean
private final Vector
<SchemeData> private boolean
private boolean
private static final net.sf.saxon.om.FingerprintedQName
private static final net.sf.saxon.om.FingerprintedQName
private static final net.sf.saxon.om.FingerprintedQName
private FragmentIdParser
private static final Pattern
private static final String
private DebuggingLogger
private static final URI
private static final String
private static final String
private DocumentResolver
private static final Pattern
private boolean
private static final net.sf.saxon.s9api.QName
private static final net.sf.saxon.s9api.QName
-
Constructor Summary
ConstructorsConstructorDescriptionXInclude()
XInclude
(DocumentResolver resolver) XInclude
(DocumentResolver resolver, FragmentIdParser fragidParser) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
expandXIncludes
(File input, File output) net.sf.saxon.s9api.XdmNode
expandXIncludes
(net.sf.saxon.s9api.XdmNode node) boolean
boolean
boolean
boolean
private void
init()
void
registerScheme
(Scheme xpointerScheme) void
setCopyAttributes
(boolean copy) void
setFixupXmlBase
(boolean fixup) void
setFixupXmlLang
(boolean fixup) void
setTrimText
(boolean trim)
-
Field Details
-
MAGIC_IMPOSSIBLE_URI
-
NS_XML
- See Also:
-
NS_XINCLUDE
- See Also:
-
xi_include
private static final net.sf.saxon.s9api.QName xi_include -
xi_fallback
private static final net.sf.saxon.s9api.QName xi_fallback -
localAttrNS
- See Also:
-
_set_xml_id
private static final net.sf.saxon.s9api.QName _set_xml_id -
_accept
private static final net.sf.saxon.s9api.QName _accept -
_accept_language
private static final net.sf.saxon.s9api.QName _accept_language -
_encoding
private static final net.sf.saxon.s9api.QName _encoding -
_href
private static final net.sf.saxon.s9api.QName _href -
_parse
private static final net.sf.saxon.s9api.QName _parse -
_fragid
private static final net.sf.saxon.s9api.QName _fragid -
_xpointer
private static final net.sf.saxon.s9api.QName _xpointer -
lineEqual
-
charEqual
-
searchEqual
-
fq_xml_id
private static final net.sf.saxon.om.FingerprintedQName fq_xml_id -
fq_xml_lang
private static final net.sf.saxon.om.FingerprintedQName fq_xml_lang -
fq_xml_base
private static final net.sf.saxon.om.FingerprintedQName fq_xml_base -
logger
-
trimText
private boolean trimText -
fixupXmlBase
private boolean fixupXmlBase -
fixupXmlLang
private boolean fixupXmlLang -
copyAttributes
private boolean copyAttributes -
data
-
schemes
-
resolver
-
fragmentIdParser
-
uriStack
-
-
Constructor Details
-
XInclude
public XInclude() -
XInclude
-
XInclude
-
-
Method Details
-
init
private void init() -
newInstance
-
clearSchemes
public void clearSchemes() -
registerScheme
-
getScheme
-
getFragmentIdParser
-
getTrimText
public boolean getTrimText() -
setTrimText
public void setTrimText(boolean trim) -
getFixupXmlBase
public boolean getFixupXmlBase() -
setFixupXmlBase
public void setFixupXmlBase(boolean fixup) -
getFixupXmlLang
public boolean getFixupXmlLang() -
setFixupXmlLang
public void setFixupXmlLang(boolean fixup) -
getCopyAttributes
public boolean getCopyAttributes() -
setCopyAttributes
public void setCopyAttributes(boolean copy) -
expandXIncludes
public net.sf.saxon.s9api.XdmNode expandXIncludes(net.sf.saxon.s9api.XdmNode node) throws net.sf.saxon.trans.XPathException - Throws:
net.sf.saxon.trans.XPathException
-
expandXIncludes
public void expandXIncludes(File input, File output) throws net.sf.saxon.s9api.SaxonApiException, net.sf.saxon.trans.XPathException - Throws:
net.sf.saxon.s9api.SaxonApiException
net.sf.saxon.trans.XPathException
-