Top Fields Constructors Methods
ch.qos.logback.core.joran.action

public Class IncludeAction

extends Action
Class Inheritance
Imports
java.io.File, .IOException, .InputStream, java.net.MalformedURLException, .URI, .URL, java.util.List, org.xml.sax.Attributes, ch.qos.logback.core.joran.event.SaxEvent, .SaxEventRecorder, ch.qos.logback.core.joran.spi.ActionException, .JoranException, .SaxEventInterpretationContext, ch.qos.logback.core.joran.util.ConfigurationWatchListUtil, ch.qos.logback.core.model.IncludeModel, .Model, ch.qos.logback.core.util.Loader, .OptionHelper

Author
ceki

Field Summary

Modifier and TypeField and Description
private String
private static final String
pack-priv IncludeModel
pack-priv boolean
private boolean
private static final String
pack-priv Model
private static final String
private static final String
Inherited from ch.qos.logback.core.joran.action.Action:
ACTION_CLASS_ATTRIBUTECLASS_ATTRIBUTEFILE_ATTRIBUTEKEY_ATTRIBUTENAME_ATTRIBUTEPATTERN_ATTRIBUTESCOPE_ATTRIBUTEVALUE_ATTRIBUTE

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv URL
attributeToURL(String urlAttribute)

public void
begin(SaxEventInterpretationContext ec, String name, Attributes attributes)

Implements abstract ch.qos.logback.core.joran.action.Action.begin.

Called when the parser encounters an element matching a Pattern.
private boolean
pack-priv void
private void
public void
pack-priv URL
private void
pack-priv InputStream
pack-priv URL
pack-priv InputStream
openURL(URL url)

private void
private void
pack-priv URL
resourceAsURL(String resourceAttribute)

private void
Inherited from ch.qos.logback.core.joran.action.Action:
atLinebodygetColumnNumbergetLineColStrgetLineNumbernearLinetoString

Field Detail

attributeInUseback to summary
private String attributeInUse
FILE_ATTRback to summary
private static final String FILE_ATTR
includeModelback to summary
pack-priv IncludeModel includeModel
inErrorback to summary
pack-priv boolean inError
optionalback to summary
private boolean optional
OPTIONAL_ATTRback to summary
private static final String OPTIONAL_ATTR
parentModelback to summary
pack-priv Model parentModel
RESOURCE_ATTRback to summary
private static final String RESOURCE_ATTR
URL_ATTRback to summary
private static final String URL_ATTR

Constructor Detail

IncludeActionback to summary
public IncludeAction()

Method Detail

attributeToURLback to summary
pack-priv URL attributeToURL(String urlAttribute)
beginback to summary
public void begin(SaxEventInterpretationContext ec, String name, Attributes attributes) throws ActionException

Implements abstract ch.qos.logback.core.joran.action.Action.begin.

Doc from ch.qos.logback.core.joran.action.Action.begin.

Called when the parser encounters an element matching a Pattern.

Annotations
@Override
checkAttributesback to summary
private boolean checkAttributes(Attributes attributes)
closeback to summary
pack-priv void close(InputStream in)
createModelForAlternateUseback to summary
private void createModelForAlternateUse(SaxEventInterpretationContext seic, String name, Attributes attributes, String optionalStr)
endback to summary
public void end(SaxEventInterpretationContext seic, String name) throws ActionException

Implements abstract ch.qos.logback.core.joran.action.Action.end.

Annotations
@Override
filePathAsURLback to summary
pack-priv URL filePathAsURL(String path)
fillInIncludeModelAttributesback to summary
private void fillInIncludeModelAttributes(IncludeModel includeModel, String name, Attributes attributes)
getInputStreamback to summary
pack-priv InputStream getInputStream(SaxEventInterpretationContext ec, Attributes attributes)
getInputURLback to summary
pack-priv URL getInputURL(SaxEventInterpretationContext ec, Attributes attributes)
openURLback to summary
pack-priv InputStream openURL(URL url)
optionalWarningback to summary
private void optionalWarning(String msg)
parseAndRecordback to summary
private void parseAndRecord(InputStream inputSource, SaxEventRecorder recorder) throws JoranException
resourceAsURLback to summary
pack-priv URL resourceAsURL(String resourceAttribute)
trimHeadAndTailback to summary
private void trimHeadAndTail(SaxEventRecorder recorder)