public final class XProcPortInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
XProcPortInfo.Kind |
Modifier and Type | Method and Description |
---|---|
XProcPortInfo.Kind |
getKind()
The kind of port.
|
String |
getName()
The port name.
|
boolean |
isPrimary()
Whether it is a primary port.
|
boolean |
isRequired()
Whether a connection is required on the port.
|
boolean |
isSequence()
Whether the port can accept/produce a sequence of documents.
|
static XProcPortInfo |
newInputPort(String name,
boolean isSequence,
boolean isRequired,
boolean isPrimary)
Instantiates a new
XProcPortInfo for an input port. |
static XProcPortInfo |
newOutputPort(String name,
boolean isSequence,
boolean isPrimary)
Instantiates a new
XProcPortInfo for an output port. |
static XProcPortInfo |
newParameterPort(String name,
boolean isPrimary)
Instantiates a new
XProcPortInfo for a parameter input port. |
public static XProcPortInfo newInputPort(String name, boolean isSequence, boolean isRequired, boolean isPrimary)
XProcPortInfo
for an input port.public static XProcPortInfo newOutputPort(String name, boolean isSequence, boolean isPrimary)
XProcPortInfo
for an output port.public static XProcPortInfo newParameterPort(String name, boolean isPrimary)
XProcPortInfo
for a parameter input port.public XProcPortInfo.Kind getKind()
public String getName()
public boolean isPrimary()
public boolean isSequence()
public boolean isRequired()
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.