public class SaxonElement
extends java.lang.Object
implements org.expath.tools.model.Element
Element, relying on NodeInfo.| Constructor and Description |
|---|
SaxonElement(net.sf.saxon.om.NodeInfo node,
net.sf.saxon.expr.XPathContext ctxt) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Iterable<org.expath.tools.model.Attribute> |
attributes() |
java.lang.Iterable<org.expath.tools.model.Element> |
children() |
java.lang.Iterable<org.expath.tools.model.Element> |
children(java.lang.String ns) |
java.lang.String |
getAttribute(java.lang.String local_name) |
org.expath.tools.model.Sequence |
getContent() |
java.lang.String |
getDisplayName() |
java.lang.String |
getLocalName() |
java.lang.String |
getNamespaceUri() |
boolean |
hasNoNsChild() |
void |
noOtherNCNameAttribute(java.lang.String[] names,
java.lang.String[] forbidden_ns) |
javax.xml.namespace.QName |
parseQName(java.lang.String value) |
public SaxonElement(net.sf.saxon.om.NodeInfo node,
net.sf.saxon.expr.XPathContext ctxt)
throws org.expath.tools.ToolsException
org.expath.tools.ToolsExceptionpublic java.lang.String getLocalName()
getLocalName in interface org.expath.tools.model.Elementpublic java.lang.String getNamespaceUri()
getNamespaceUri in interface org.expath.tools.model.Elementpublic java.lang.String getDisplayName()
getDisplayName in interface org.expath.tools.model.Elementpublic java.lang.String getAttribute(java.lang.String local_name)
getAttribute in interface org.expath.tools.model.Elementpublic java.lang.Iterable<org.expath.tools.model.Attribute> attributes()
attributes in interface org.expath.tools.model.Elementpublic boolean hasNoNsChild()
hasNoNsChild in interface org.expath.tools.model.Elementpublic void noOtherNCNameAttribute(java.lang.String[] names,
java.lang.String[] forbidden_ns)
throws org.expath.tools.ToolsException
noOtherNCNameAttribute in interface org.expath.tools.model.Elementorg.expath.tools.ToolsExceptionpublic org.expath.tools.model.Sequence getContent()
throws org.expath.tools.ToolsException
getContent in interface org.expath.tools.model.Elementorg.expath.tools.ToolsExceptionpublic java.lang.Iterable<org.expath.tools.model.Element> children()
children in interface org.expath.tools.model.Elementpublic java.lang.Iterable<org.expath.tools.model.Element> children(java.lang.String ns)
children in interface org.expath.tools.model.Elementpublic javax.xml.namespace.QName parseQName(java.lang.String value)
throws org.expath.tools.ToolsException
parseQName in interface org.expath.tools.model.Elementorg.expath.tools.ToolsExceptionCopyright © 2015-2020 EXPath. All Rights Reserved