|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.xml_project.morganaxproc.XProcResult
public class XProcResult
This class acts as a container for the document (sequence) found on an output port.
Subclass XProcResult
to get the results from pipeline execution in an
other form.
Method Summary | |
---|---|
nu.xom.Document[] |
getDocuments()
Return the documents in this XProcResult as a (possibly empty) document array. |
java.lang.String[] |
getDocumentsSerialized()
Results a (possibly empty) string array with the serialized version of the documents in this XProcResult . |
int |
getNumberOfDocuments()
Returns the number of documents in this XProcResult . |
java.lang.String |
getPortEncoding()
Returns the encoding option set for this port. |
com.xml_project.morganaxproc.core.port.PortSerializer |
getSerializer()
Returns the serializer for this port. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getNumberOfDocuments()
Returns the number of documents in this XProcResult
.
public nu.xom.Document[] getDocuments()
Return the documents in this XProcResult
as a (possibly empty) document array.
public java.lang.String[] getDocumentsSerialized()
Results a (possibly empty) string array with the serialized version of the documents in this
XProcResult
.
The serialization is performed according to the p:serialization
defined for
the output port in the XProc pipeline from which the XProcResult
was obtained.
If no p:serialization
is provided for the port, the default settings are used.
public java.lang.String getPortEncoding()
Returns the encoding option set for this port.
public com.xml_project.morganaxproc.core.port.PortSerializer getSerializer()
Returns the serializer for this port.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |