@NotThreadSafe public class PSValueOf extends Object implements IPSClonableElement<PSValueOf>, IPSHasForeignAttributes
| Constructor and Description |
|---|
PSValueOf() |
| Modifier and Type | Method and Description |
|---|---|
void |
addForeignAttribute(String sAttrName,
String sAttrValue) |
com.helger.commons.collection.impl.ICommonsOrderedMap<String,String> |
getAllForeignAttributes() |
com.helger.xml.microdom.IMicroElement |
getAsMicroElement() |
PSValueOf |
getClone() |
String |
getSelect() |
boolean |
hasForeignAttributes() |
boolean |
isMinimal() |
boolean |
isValid(IPSErrorHandler aErrorHandler)
Check if this element is specified completely.
|
static PSValueOf |
ofSelect(String sSelect)
Factory method to create a new
PSValueOf with a certain "select"
value |
void |
setSelect(String sSelect)
Set the expression to retrieve the value of
|
String |
toString() |
void |
validateCompletely(IPSErrorHandler aErrorHandler)
Check if this element is specified completely.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddForeignAttributespublic boolean isValid(@Nonnull IPSErrorHandler aErrorHandler)
IPSElementisValid in interface IPSElementaErrorHandler - 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)
IPSElementvalidateCompletely in interface IPSElementaErrorHandler - The error handler where the error details are stored. May not be
null.public boolean isMinimal()
isMinimal in interface IPSElementtrue if this element conforms to the Schematron
minimal syntax, false otherwise.@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsOrderedMap<String,String> getAllForeignAttributes()
getAllForeignAttributes in interface IPSHasForeignAttributespublic boolean hasForeignAttributes()
hasForeignAttributes in interface IPSHasForeignAttributespublic void addForeignAttribute(@Nonnull String sAttrName, @Nonnull String sAttrValue)
addForeignAttribute in interface IPSHasForeignAttributespublic void setSelect(@Nullable String sSelect)
sSelect - The select expression string. May be null.@Nonnull public com.helger.xml.microdom.IMicroElement getAsMicroElement()
getAsMicroElement in interface IPSElementnull.@Nonnull public PSValueOf getClone()
getClone in interface com.helger.commons.lang.ICloneable<PSValueOf>Copyright © 2014–2021 Philip Helger. All rights reserved.