public class HTMLCSSExtractor extends DocumentProcessor implements com.exalead.util.Checkable, java.io.Serializable
classes
or ids
, and duplicates them in context outputContext
Modifier and Type | Class and Description |
---|---|
static class |
HTMLCSSExtractor.Classes |
static class |
HTMLCSSExtractor.Ids |
DocumentProcessor.FromDataModel, DocumentProcessor.Transformer<T>
Modifier and Type | Field and Description |
---|---|
protected HTMLCSSExtractor.Classes |
classes |
protected HTMLCSSExtractor.Ids |
ids |
java.lang.String |
outputContext |
acceptCondition, dataModelClass, dataModelProperty, dataModelState, DEFAULT_DISABLED, disabled, fromDataModel, name
Constructor and Description |
---|
HTMLCSSExtractor() |
HTMLCSSExtractor(HTMLCSSExtractor 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 HTMLCSSExtractor.
|
static HTMLCSSExtractor |
fromString(java.lang.String s)
String representation of this HTMLCSSExtractor.
|
HTMLCSSExtractor.Classes |
getClasses() |
HTMLCSSExtractor.Ids |
getIds() |
java.lang.String |
getOutputContext()
ContextName to be associated with the DocumentChunk created for each new context.
|
HTMLCSSExtractor |
makeCopy()
Creates and returns a deep copy of this HTMLCSSExtractor.
|
static HTMLCSSExtractor |
readFrom(java.io.InputStream is)
Read this HTMLCSSExtractor from an XML fragment.
|
void |
setClasses(HTMLCSSExtractor.Classes __value) |
void |
setIds(HTMLCSSExtractor.Ids __value) |
void |
setOutputContext(java.lang.String outputContext)
ContextName to be associated with the DocumentChunk created for each new context.
|
java.lang.String |
toString()
String representation of this HTMLCSSExtractor.
|
HTMLCSSExtractor |
withAcceptCondition(AcceptCondition acceptCondition) |
HTMLCSSExtractor |
withClasses(java.util.Collection<StringValue> __values) |
HTMLCSSExtractor |
withClasses(HTMLCSSExtractor.Classes __value) |
HTMLCSSExtractor |
withClasses(StringValue... __values) |
HTMLCSSExtractor |
withDataModelClass(java.lang.String dataModelClass) |
HTMLCSSExtractor |
withDataModelProperty(java.lang.String dataModelProperty) |
HTMLCSSExtractor |
withDataModelState(java.lang.String dataModelState) |
HTMLCSSExtractor |
withDisabled(boolean disabled) |
HTMLCSSExtractor |
withDisabled(java.lang.Boolean disabled) |
HTMLCSSExtractor |
withFromDataModel(DocumentProcessor fromDataModel) |
HTMLCSSExtractor |
withIds(java.util.Collection<StringValue> __values) |
HTMLCSSExtractor |
withIds(HTMLCSSExtractor.Ids __value) |
HTMLCSSExtractor |
withIds(StringValue... __values) |
HTMLCSSExtractor |
withName(java.lang.String name) |
HTMLCSSExtractor |
withOutputContext(java.lang.String outputContext) |
void |
writeTo(java.io.OutputStream os)
Write this HTMLCSSExtractor as an XML fragment
|
getAcceptCondition, getDataModelClass, getDataModelProperty, getDataModelState, getFromDataModel, getName, isDisabled, setAcceptCondition, setDataModelClass, setDataModelProperty, setDataModelState, setDisabled, setFromDataModel, setName
public java.lang.String outputContext
protected HTMLCSSExtractor.Classes classes
protected HTMLCSSExtractor.Ids ids
public HTMLCSSExtractor()
public HTMLCSSExtractor(HTMLCSSExtractor o)
public HTMLCSSExtractor withAcceptCondition(AcceptCondition acceptCondition)
withAcceptCondition
in class DocumentProcessor
public HTMLCSSExtractor withName(java.lang.String name)
withName
in class DocumentProcessor
public HTMLCSSExtractor withDataModelState(java.lang.String dataModelState)
withDataModelState
in class DocumentProcessor
public HTMLCSSExtractor withFromDataModel(DocumentProcessor fromDataModel)
public HTMLCSSExtractor withDataModelClass(java.lang.String dataModelClass)
withDataModelClass
in class DocumentProcessor
public HTMLCSSExtractor withDataModelProperty(java.lang.String dataModelProperty)
withDataModelProperty
in class DocumentProcessor
public HTMLCSSExtractor withDisabled(boolean disabled)
withDisabled
in class DocumentProcessor
public HTMLCSSExtractor withDisabled(java.lang.Boolean disabled)
withDisabled
in class DocumentProcessor
public void setOutputContext(java.lang.String outputContext)
public java.lang.String getOutputContext()
public HTMLCSSExtractor withOutputContext(java.lang.String outputContext)
public HTMLCSSExtractor.Classes getClasses()
public void setClasses(HTMLCSSExtractor.Classes __value)
public HTMLCSSExtractor withClasses(StringValue... __values)
public HTMLCSSExtractor withClasses(java.util.Collection<StringValue> __values)
public HTMLCSSExtractor withClasses(HTMLCSSExtractor.Classes __value)
public HTMLCSSExtractor.Ids getIds()
public void setIds(HTMLCSSExtractor.Ids __value)
public HTMLCSSExtractor withIds(StringValue... __values)
public HTMLCSSExtractor withIds(java.util.Collection<StringValue> __values)
public HTMLCSSExtractor withIds(HTMLCSSExtractor.Ids __value)
public HTMLCSSExtractor makeCopy()
makeCopy
in class DocumentProcessor
public static HTMLCSSExtractor 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 HTMLCSSExtractor 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.