public interface LoaderHelper
| Modifier and Type | Method and Description |
|---|---|
boolean |
canNarrow(org.fabric3.api.model.type.component.Multiplicity first,
org.fabric3.api.model.type.component.Multiplicity second)
Determines if the first multiplicity setting can narrow the second.
|
javax.xml.namespace.QName |
createQName(java.lang.String name,
javax.xml.stream.XMLStreamReader reader)
Constructs a QName from the given name.
|
java.lang.String |
loadKey(javax.xml.stream.XMLStreamReader reader)
Load the value of the attribute key from the current element.
|
org.w3c.dom.Document |
loadPropertyValue(java.lang.String content)
Loads a property value configured in a composite or on a component using the @value attribute from a String.
|
org.w3c.dom.Document |
loadPropertyValues(javax.xml.stream.XMLStreamReader reader)
Loads one or more property values configured in a composite or on a component from a Stax stream.
|
org.fabric3.api.model.type.component.Target |
parseTarget(java.lang.String target,
javax.xml.stream.XMLStreamReader reader)
Convert a URI from a String form of
component/service/binding to a Target. |
org.w3c.dom.Document |
transform(javax.xml.stream.XMLStreamReader reader)
Transforms the XML element to a DOM representation.
|
java.lang.String loadKey(javax.xml.stream.XMLStreamReader reader)
reader - a stream containing a property valueorg.w3c.dom.Document loadPropertyValues(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
reader - the stream readerjavax.xml.stream.XMLStreamException - if there was a problem reading the streamorg.w3c.dom.Document loadPropertyValue(java.lang.String content)
throws javax.xml.stream.XMLStreamException
content - String contentjavax.xml.stream.XMLStreamException - if there was a problem reading the streamorg.fabric3.api.model.type.component.Target parseTarget(java.lang.String target,
javax.xml.stream.XMLStreamReader reader)
throws InvalidTargetException
component/service/binding to a Target.target - the URI to convertreader - the stream reader parsing the XML document where the target is specifiedInvalidTargetException - if the target format is invalidjavax.xml.namespace.QName createQName(java.lang.String name,
javax.xml.stream.XMLStreamReader reader)
throws InvalidPrefixException
name - the name to parsereader - the XML stream readerInvalidPrefixException - if a specified namespace prefix is invalidboolean canNarrow(org.fabric3.api.model.type.component.Multiplicity first,
org.fabric3.api.model.type.component.Multiplicity second)
first - multiplicity settingsecond - multiplicity settingorg.w3c.dom.Document transform(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
reader - the XML stream readerjavax.xml.stream.XMLStreamException - if a conversion exception is encountered