|
Nux 1.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnu.xom.NodeFactory
nux.xom.sandbox.MulticastNodeFactory
public final class MulticastNodeFactory
Streams input into one or more independent underlying node factories.
| Nested Class Summary | |
|---|---|
static class |
MulticastNodeFactory.MultipleCausesException
A RuntimeException containing an array of one or more causes (Throwables). |
| Constructor Summary | |
|---|---|
MulticastNodeFactory(NodeFactory[] receivers,
boolean failFast)
Constructs a new instance. |
|
| Method Summary | |
|---|---|
void |
finishMakingDocument(Document doc)
|
Nodes |
finishMakingElement(Element unused)
|
Document[] |
getDocuments()
Returns the document build for each of the factories. |
Nodes |
makeAttribute(String qname,
String namespaceURI,
String value,
Attribute.Type type)
|
Nodes |
makeComment(String data)
|
Nodes |
makeDocType(String rootElementName,
String publicID,
String systemID)
|
Nodes |
makeProcessingInstruction(String target,
String data)
|
Element |
makeRootElement(String qname,
String namespaceURI)
|
Nodes |
makeText(String text)
|
Document |
startMakingDocument()
|
Element |
startMakingElement(String qname,
String namespaceURI)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MulticastNodeFactory(NodeFactory[] receivers,
boolean failFast)
receivers - the child factories to push intofailFast - whether or not to immediately report an exception on the first
child failure| Method Detail |
|---|
public Document[] getDocuments()
public Document startMakingDocument()
startMakingDocument in class NodeFactorypublic void finishMakingDocument(Document doc)
finishMakingDocument in class NodeFactory
public Element makeRootElement(String qname,
String namespaceURI)
makeRootElement in class NodeFactory
public Element startMakingElement(String qname,
String namespaceURI)
startMakingElement in class NodeFactorypublic Nodes finishMakingElement(Element unused)
finishMakingElement in class NodeFactory
public Nodes makeAttribute(String qname,
String namespaceURI,
String value,
Attribute.Type type)
makeAttribute in class NodeFactorypublic Nodes makeComment(String data)
makeComment in class NodeFactory
public Nodes makeDocType(String rootElementName,
String publicID,
String systemID)
makeDocType in class NodeFactory
public Nodes makeProcessingInstruction(String target,
String data)
makeProcessingInstruction in class NodeFactorypublic Nodes makeText(String text)
makeText in class NodeFactory
|
Nux 1.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||