|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface XNodeCollectionFactory
An interface for a factory for creating XNodeCollections.
The XNode API (the package org.purl.xnode.*, both its source code and documentation), are released under the Apache 2.0 License. For more details, check the LICENSE file contained with the distribution, or see The Ceryle Project for more information. It is distributed with no warranty.
XNodeCollection| Method Summary | |
|---|---|
XNodeCollection |
createXNodeCollection(String cid,
Node node)
Return an XNodeCollection provided a String id and its DOM Node node content. |
Node |
getXNodeContent(XNode xnode,
boolean includeEnvelope)
Returns a DOM node representation of the provided XNode, including the XNode envelope if includeEnvelope is true. |
XNodeCollection |
recreateXNodeCollection(String cid,
String content)
Returns an XNodeCollection provided a String containing its content, assuming the provided content is a serialization of an XNodeCollection. |
| Methods inherited from interface org.purl.xnode.XNodeFactory |
|---|
createXNode, createXNode, recreateXNode, serializeXNode, serializeXNode |
| Method Detail |
|---|
XNodeCollection createXNodeCollection(String cid,
Node node)
throws XNodeException
cid - the XNodeCollection ID.
e @param node the DOM Node to be enclosed in the XNodeCollection.
XNodeException - if an error occurs during creation.
XNodeCollection recreateXNodeCollection(String cid,
String content)
throws XNodeException
cid - the XNodeCollection ID.content - the String to be processed as XNode content.
XNodeException - if an error occurs during recreation.
Node getXNodeContent(XNode xnode,
boolean includeEnvelope)
throws XNodeException
getXNodeContent in interface XNodeFactoryxnode - the XNode to process.includeEnvelope - when true, include the entire XNode (XML) envelope.
XNodeException - if an error occurs during processing.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||