Interface ActiveSource
- All Superinterfaces:
Source
- All Known Subinterfaces:
MutableNodeInfo, NodeInfo, SiblingCountingNode, SteppingNode, VirtualNode
- All Known Implementing Classes:
AbsentExtensionElement, AbstractNodeWrapper, AbstractVirtualNode, ActiveDOMSource, ActiveSAXSource, ActiveStAXSource, ActiveStreamSource, AttributeImpl, CommentImpl, DataElement, DocumentImpl, DOM4JDocumentWrapper, DOM4JNodeWrapper, DOMNodeWrapper, ElementImpl, EventSource, ExtensionInstruction, JDOM2DocumentWrapper, JDOM2NodeWrapper, LiteralResultElement, NamespaceNode, NodeImpl, NodeSource, Orphan, ParentNodeImpl, ProcInstImpl, PullSource, RebasedNode, SaplingDocument, SnapshotNode, SpaceStrippedNode, StyleElement, TextFragmentValue, TextImpl, TextValueTemplateNode, TinyAttributeImpl, TinyCommentImpl, TinyDocumentImpl, TinyElementImpl, TinyNodeImpl, TinyParentNodeImpl, TinyProcInstImpl, TinyTextImpl, TinyTextualElement, TinyTextualElement.TinyTextualElementText, TypeStrippedNode, VirtualCopy, VirtualUntypedCopy, WhitespaceTextImpl, XOMDocumentWrapper, XOMNodeWrapper, XSLAccept, XSLAcceptExpose, XSLAccumulator, XSLAccumulatorRule, XSLAnalyzeString, XSLApplyImports, XSLApplyTemplates, XSLArray, XSLArrayMember, XSLAssert, XSLAttribute, XSLAttributeSet, XSLBreak, XSLBreakOrContinue, XSLCallTemplate, XSLCatch, XSLCharacterMap, XSLChoose, XSLChooseOrSwitch, XSLComment, XSLContextItem, XSLCopy, XSLCopyOf, XSLDecimalFormat, XSLDocument, XSLElement, XSLEvaluate, XSLExpose, XSLFallback, XSLForEach, XSLForEachGroup, XSLFork, XSLFunction, XSLGeneralIncorporate, XSLGeneralVariable, XSLGlobalContextItem, XSLGlobalParam, XSLGlobalVariable, XSLIf, XSLImport, XSLImportSchema, XSLInclude, XSLItemType, XSLIterate, XSLKey, XSLLeafNodeConstructor, XSLLocalParam, XSLLocalVariable, XSLMap, XSLMapEntry, XSLMatch, XSLMatchingSubstring, XSLMerge, XSLMergeAction, XSLMergeKey, XSLMergeSource, XSLMessage, XSLMode, XSLModuleRoot, XSLNamespace, XSLNamespaceAlias, XSLNextIteration, XSLNextMatch, XSLNumber, XSLOnCompletion, XSLOnEmpty, XSLOnNonEmpty, XSLOtherwise, XSLOutput, XSLOutputCharacter, XSLOverride, XSLPackage, XSLPerformSort, XSLPreserveSpace, XSLProcessingInstruction, XSLResultDocument, XSLSequence, XSLSort, XSLSortOrMergeKey, XSLSourceDocument, XSLStylesheet, XSLSwitch, XSLTemplate, XSLText, XSLTry, XSLUsePackage, XSLValueOf, XSLWhen, XSLWherePopulated, XSLWithParam
An ActiveSource is a Source that is capable of delivering an XML document to a Receiver;
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeliver(Receiver receiver, ParseOptions options) Deliver the content of the source to a supplied Receiver.Methods inherited from interface Source
getSystemId, isEmpty, setSystemId
-
Method Details
-
deliver
Deliver the content of the source to a supplied Receiver.For many (but not all) implementations of
Source, this method consumes the source and can therefore only be called once.- Parameters:
receiver- the receiver to which events representing the parsed XML document will be sentoptions- options for parsing the source- Throws:
XPathException- if parsing fails for any reason. The detailed diagnostics will have been sent to the error reporter.
-