Class XmlTypeSpecification
- java.lang.Object
-
- com.xebialabs.xlplatform.synthetic.xml.XmlElement
-
- com.xebialabs.xlplatform.synthetic.xml.XmlBaseTypeSpecification
-
- com.xebialabs.xlplatform.synthetic.xml.XmlTypeSpecification
-
- All Implemented Interfaces:
BaseTypeSpecification,TypeSpecification
public class XmlTypeSpecification extends XmlBaseTypeSpecification implements TypeSpecification
-
-
Field Summary
-
Fields inherited from class com.xebialabs.xlplatform.synthetic.xml.XmlElement
element
-
-
Constructor Summary
Constructors Constructor Description XmlTypeSpecification(org.w3c.dom.Element element)
-
Method Summary
All Methods Instance Methods Concrete Methods Default Methods Modifier and Type Method Description default java.util.Iterator<org.w3c.dom.Element>childByName(org.w3c.dom.Element element, java.util.function.Predicate<java.lang.String> matcher)default java.lang.Iterable<org.w3c.dom.Element>childrenByName(org.w3c.dom.Element element, java.util.function.Predicate<java.lang.String> matcher)default <E> voidforEach(java.util.Iterator<E> iterator, Closure<E> closure)java.util.Optional<TypeName>getContainerType()java.util.Optional<CreatorSpecification>getCreator()java.util.Optional<TypeName>getDeployedType()java.util.Optional<java.lang.String>getDescription()GeneratedDeployableSpecificationgetGeneratedDeployableDescription()TypeSpecificationgetGenerateDeployable()java.util.Optional<java.lang.String>getIcon()java.util.Optional<java.lang.Boolean>getInspectable()java.util.Optional<java.lang.String>getLabel()default java.util.Optional<java.lang.Boolean>getOptionalBoolean(org.w3c.dom.Element element, java.lang.String attributeName)default booleangetOptionalBooleanAttribute(org.w3c.dom.Element element, java.lang.String attributeName, boolean defaultValue)default java.util.Optional<java.lang.String>getOptionalString(org.w3c.dom.Element element, java.lang.String attributeName)default java.lang.StringgetOptionalStringAttribute(org.w3c.dom.Element element, java.lang.String attributeName, java.lang.String defaultValue)default java.util.Optional<java.lang.String>getOptionalTextOfChild(org.w3c.dom.Element element, java.lang.String childElementName)default java.util.Optional<TypeName>getOptionalType(org.w3c.dom.Element element, java.lang.String attributeName)default TypeNamegetOptionalTypeAttribute(org.w3c.dom.Element element, java.lang.String attributeName)default TypeNamegetOptionalTypeAttribute(org.w3c.dom.Element element, java.lang.String attributeName, TypeName defaultValue)default java.lang.StringgetRequiredStringAttribute(org.w3c.dom.Element element, java.lang.String attributeName)default TypeNamegetRequiredTypeAttribute(org.w3c.dom.Element element, java.lang.String attributeName)java.util.Optional<java.lang.String>getRoot()TypeNamegetSuperType()booleanhasGenerateDeployable()-
Methods inherited from class com.xebialabs.xlplatform.synthetic.xml.XmlBaseTypeSpecification
getControlTasks, getMethods, getProperties, getTypeName, getValidationRules, getVerifications, getVersioned, getVirtual
-
Methods inherited from class com.xebialabs.xlplatform.synthetic.xml.XmlElement
getElement
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.xebialabs.xlplatform.synthetic.BaseTypeSpecification
getControlTasks, getMethods, getProperties, getTypeName, getValidationRules, getVerifications, getVersioned, getVirtual
-
-
-
-
Method Detail
-
hasGenerateDeployable
public boolean hasGenerateDeployable()
- Specified by:
hasGenerateDeployablein interfaceTypeSpecification
-
getGenerateDeployable
public TypeSpecification getGenerateDeployable()
- Specified by:
getGenerateDeployablein interfaceTypeSpecification
-
getSuperType
public TypeName getSuperType()
- Specified by:
getSuperTypein interfaceTypeSpecification
-
getLabel
public java.util.Optional<java.lang.String> getLabel()
- Specified by:
getLabelin interfaceTypeSpecification
-
getDescription
public java.util.Optional<java.lang.String> getDescription()
- Specified by:
getDescriptionin interfaceTypeSpecification
-
getInspectable
public java.util.Optional<java.lang.Boolean> getInspectable()
- Specified by:
getInspectablein interfaceTypeSpecification
-
getIcon
public java.util.Optional<java.lang.String> getIcon()
- Specified by:
getIconin interfaceTypeSpecification
-
getRoot
public java.util.Optional<java.lang.String> getRoot()
- Specified by:
getRootin interfaceTypeSpecification
-
getDeployedType
public java.util.Optional<TypeName> getDeployedType()
- Specified by:
getDeployedTypein interfaceTypeSpecification
-
getContainerType
public java.util.Optional<TypeName> getContainerType()
- Specified by:
getContainerTypein interfaceTypeSpecification
-
getGeneratedDeployableDescription
public GeneratedDeployableSpecification getGeneratedDeployableDescription()
- Specified by:
getGeneratedDeployableDescriptionin interfaceTypeSpecification
-
getCreator
public java.util.Optional<CreatorSpecification> getCreator()
- Specified by:
getCreatorin interfaceTypeSpecification
-
getRequiredStringAttribute
public default java.lang.String getRequiredStringAttribute(org.w3c.dom.Element element, java.lang.String attributeName)
-
getRequiredTypeAttribute
public default TypeName getRequiredTypeAttribute(org.w3c.dom.Element element, java.lang.String attributeName)
-
getOptionalTypeAttribute
public default TypeName getOptionalTypeAttribute(org.w3c.dom.Element element, java.lang.String attributeName, TypeName defaultValue)
-
getOptionalTypeAttribute
public default TypeName getOptionalTypeAttribute(org.w3c.dom.Element element, java.lang.String attributeName)
-
getOptionalType
public default java.util.Optional<TypeName> getOptionalType(org.w3c.dom.Element element, java.lang.String attributeName)
-
getOptionalBooleanAttribute
public default boolean getOptionalBooleanAttribute(org.w3c.dom.Element element, java.lang.String attributeName, boolean defaultValue)
-
getOptionalBoolean
public default java.util.Optional<java.lang.Boolean> getOptionalBoolean(org.w3c.dom.Element element, java.lang.String attributeName)
-
getOptionalStringAttribute
public default java.lang.String getOptionalStringAttribute(org.w3c.dom.Element element, java.lang.String attributeName, java.lang.String defaultValue)
-
getOptionalString
public default java.util.Optional<java.lang.String> getOptionalString(org.w3c.dom.Element element, java.lang.String attributeName)
-
getOptionalTextOfChild
public default java.util.Optional<java.lang.String> getOptionalTextOfChild(org.w3c.dom.Element element, java.lang.String childElementName)
-
childrenByName
public default java.lang.Iterable<org.w3c.dom.Element> childrenByName(org.w3c.dom.Element element, java.util.function.Predicate<java.lang.String> matcher)
-
childByName
public default java.util.Iterator<org.w3c.dom.Element> childByName(org.w3c.dom.Element element, java.util.function.Predicate<java.lang.String> matcher)
-
forEach
public default <E> void forEach(java.util.Iterator<E> iterator, Closure<E> closure)
-
-