public class HTMLCSSSelector extends DocumentProcessor implements com.exalead.util.Checkable, java.io.Serializable
classes
or ids
Modifier and Type | Class and Description |
---|---|
static class |
HTMLCSSSelector.Classes |
static class |
HTMLCSSSelector.Ids |
DocumentProcessor.FromDataModel, DocumentProcessor.Transformer<T>
Modifier and Type | Field and Description |
---|---|
protected HTMLCSSSelector.Classes |
classes |
protected HTMLCSSSelector.Ids |
ids |
acceptCondition, dataModelClass, dataModelProperty, dataModelState, DEFAULT_DISABLED, disabled, fromDataModel, name
Constructor and Description |
---|
HTMLCSSSelector() |
HTMLCSSSelector(HTMLCSSSelector o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(DocumentProcessor.Transformer<T> transformer,
T[] t) |
void |
check(boolean deep,
java.lang.String errorContext)
Checks this HTMLCSSSelector.
|
static HTMLCSSSelector |
fromString(java.lang.String s)
String representation of this HTMLCSSSelector.
|
HTMLCSSSelector.Classes |
getClasses() |
HTMLCSSSelector.Ids |
getIds() |
HTMLCSSSelector |
makeCopy()
Creates and returns a deep copy of this HTMLCSSSelector.
|
static HTMLCSSSelector |
readFrom(java.io.InputStream is)
Read this HTMLCSSSelector from an XML fragment.
|
void |
setClasses(HTMLCSSSelector.Classes __value) |
void |
setIds(HTMLCSSSelector.Ids __value) |
java.lang.String |
toString()
String representation of this HTMLCSSSelector.
|
HTMLCSSSelector |
withAcceptCondition(AcceptCondition acceptCondition) |
HTMLCSSSelector |
withClasses(java.util.Collection<StringValue> __values) |
HTMLCSSSelector |
withClasses(HTMLCSSSelector.Classes __value) |
HTMLCSSSelector |
withClasses(StringValue... __values) |
HTMLCSSSelector |
withDataModelClass(java.lang.String dataModelClass) |
HTMLCSSSelector |
withDataModelProperty(java.lang.String dataModelProperty) |
HTMLCSSSelector |
withDataModelState(java.lang.String dataModelState) |
HTMLCSSSelector |
withDisabled(boolean disabled) |
HTMLCSSSelector |
withDisabled(java.lang.Boolean disabled) |
HTMLCSSSelector |
withFromDataModel(DocumentProcessor fromDataModel) |
HTMLCSSSelector |
withIds(java.util.Collection<StringValue> __values) |
HTMLCSSSelector |
withIds(HTMLCSSSelector.Ids __value) |
HTMLCSSSelector |
withIds(StringValue... __values) |
HTMLCSSSelector |
withName(java.lang.String name) |
void |
writeTo(java.io.OutputStream os)
Write this HTMLCSSSelector as an XML fragment
|
getAcceptCondition, getDataModelClass, getDataModelProperty, getDataModelState, getFromDataModel, getName, isDisabled, setAcceptCondition, setDataModelClass, setDataModelProperty, setDataModelState, setDisabled, setFromDataModel, setName
protected HTMLCSSSelector.Classes classes
protected HTMLCSSSelector.Ids ids
public HTMLCSSSelector()
public HTMLCSSSelector(HTMLCSSSelector o)
public HTMLCSSSelector withAcceptCondition(AcceptCondition acceptCondition)
withAcceptCondition
in class DocumentProcessor
public HTMLCSSSelector withName(java.lang.String name)
withName
in class DocumentProcessor
public HTMLCSSSelector withDataModelState(java.lang.String dataModelState)
withDataModelState
in class DocumentProcessor
public HTMLCSSSelector withFromDataModel(DocumentProcessor fromDataModel)
public HTMLCSSSelector withDataModelClass(java.lang.String dataModelClass)
withDataModelClass
in class DocumentProcessor
public HTMLCSSSelector withDataModelProperty(java.lang.String dataModelProperty)
withDataModelProperty
in class DocumentProcessor
public HTMLCSSSelector withDisabled(boolean disabled)
withDisabled
in class DocumentProcessor
public HTMLCSSSelector withDisabled(java.lang.Boolean disabled)
withDisabled
in class DocumentProcessor
public HTMLCSSSelector.Classes getClasses()
public void setClasses(HTMLCSSSelector.Classes __value)
public HTMLCSSSelector withClasses(StringValue... __values)
public HTMLCSSSelector withClasses(java.util.Collection<StringValue> __values)
public HTMLCSSSelector withClasses(HTMLCSSSelector.Classes __value)
public HTMLCSSSelector.Ids getIds()
public void setIds(HTMLCSSSelector.Ids __value)
public HTMLCSSSelector withIds(StringValue... __values)
public HTMLCSSSelector withIds(java.util.Collection<StringValue> __values)
public HTMLCSSSelector withIds(HTMLCSSSelector.Ids __value)
public HTMLCSSSelector makeCopy()
makeCopy
in class DocumentProcessor
public static HTMLCSSSelector readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class DocumentProcessor
javax.xml.bind.JAXBException
java.io.IOException
public static HTMLCSSSelector fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class DocumentProcessor
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class DocumentProcessor
com.exalead.util.TypedException
public <T> T accept(DocumentProcessor.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class DocumentProcessor
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.