@NotThreadSafe public class PSLet extends Object implements IPSClonableElement<PSLet>
Constructor and Description |
---|
PSLet() |
Modifier and Type | Method and Description |
---|---|
com.helger.xml.microdom.IMicroElement |
getAsMicroElement() |
PSLet |
getClone() |
String |
getName() |
String |
getValue() |
boolean |
isMinimal() |
boolean |
isValid(IPSErrorHandler aErrorHandler)
Check if this element is specified completely.
|
void |
setName(String sName) |
void |
setValue(String sValue) |
String |
toString() |
void |
validateCompletely(IPSErrorHandler aErrorHandler)
Check if this element is specified completely.
|
public boolean isValid(@Nonnull IPSErrorHandler aErrorHandler)
IPSElement
isValid
in interface IPSElement
aErrorHandler
- The error handler where the error details are stored. May not be
null
.true
if all mandatory fields are set and the element
is valid, false
otherwise.public void validateCompletely(@Nonnull IPSErrorHandler aErrorHandler)
IPSElement
validateCompletely
in interface IPSElement
aErrorHandler
- The error handler where the error details are stored. May not be
null
.public boolean isMinimal()
isMinimal
in interface IPSElement
true
if this element conforms to the Schematron
minimal syntax, false
otherwise.public void setName(@Nullable String sName)
sName
- The name of the variable. May be null
.public void setValue(@Nullable String sValue)
sValue
- The value of the variable. May be null
.@Nonnull public com.helger.xml.microdom.IMicroElement getAsMicroElement()
getAsMicroElement
in interface IPSElement
null
.@Nonnull public PSLet getClone()
getClone
in interface com.helger.commons.lang.ICloneable<PSLet>
Copyright © 2014–2016 Philip Helger. All rights reserved.