@NotThreadSafe public class PSName extends Object implements IPSClonableElement<PSName>, IPSHasForeignAttributes
Constructor and Description |
---|
PSName() |
Modifier and Type | Method and Description |
---|---|
void |
addForeignAttribute(String sAttrName,
String sAttrValue) |
com.helger.commons.collection.ext.ICommonsOrderedMap<String,String> |
getAllForeignAttributes() |
com.helger.xml.microdom.IMicroElement |
getAsMicroElement() |
PSName |
getClone() |
String |
getPath() |
boolean |
hasForeignAttributes() |
boolean |
hasPath() |
boolean |
isMinimal() |
boolean |
isValid(IPSErrorHandler aErrorHandler)
Check if this element is specified completely.
|
void |
setPath(String sPath) |
String |
toString() |
void |
validateCompletely(IPSErrorHandler aErrorHandler)
Check if this element is specified completely.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addForeignAttributes
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 addForeignAttribute(@Nonnull String sAttrName, @Nonnull String sAttrValue)
addForeignAttribute
in interface IPSHasForeignAttributes
public boolean hasForeignAttributes()
hasForeignAttributes
in interface IPSHasForeignAttributes
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.ext.ICommonsOrderedMap<String,String> getAllForeignAttributes()
getAllForeignAttributes
in interface IPSHasForeignAttributes
public void setPath(@Nullable String sPath)
sPath
- The path to use. May be null
.public boolean hasPath()
true
if a path is specified, false
otherwise.@Nonnull public com.helger.xml.microdom.IMicroElement getAsMicroElement()
getAsMicroElement
in interface IPSElement
null
.@Nonnull public PSName getClone()
getClone
in interface com.helger.commons.lang.ICloneable<PSName>
Copyright © 2014–2017 Philip Helger. All rights reserved.