|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfree.layouting.layouter.feed.DefaultInputFeed
public class DefaultInputFeed
Creation-Date: 05.12.2005, 18:19:03
| Field Summary | |
|---|---|
static int |
DOCUMENT_FINISHED
|
static int |
DOCUMENT_STARTING
|
static int |
ELEMENT_ATTRIBUTES
|
static int |
ELEMENT_CONTENT
|
static int |
ELEMENT_EXPECTED
|
static int |
ELEMENT_STARTED
|
static int |
META_EXPECTED
|
static int |
META_NODE_ATTRIBUTES
|
static int |
META_NODE_START
|
static int |
META_PROCESSING
|
| Constructor Summary | |
|---|---|
|
DefaultInputFeed(LayoutProcess process)
|
protected |
DefaultInputFeed(LayoutProcess process,
boolean init)
|
| Method Summary | |
|---|---|
void |
addContent(java.lang.String text)
|
void |
addDocumentAttribute(java.lang.String name,
java.lang.Object attr)
Adds document attributes. |
void |
endDocument()
|
void |
endElement()
|
void |
endMetaInfo()
|
void |
endMetaNode()
|
Normalizer |
getCurrentNormalizer()
Warning; This method is needed internally, mess with it from the outside and you will run into trouble. |
NamespaceCollection |
getNamespaceCollection()
|
Normalizer |
getNormalizer()
|
protected LayoutProcess |
getProcess()
|
protected int |
getState()
|
void |
handlePageBreakEncountered(CSSValue pageName,
PseudoPage[] pseudoPages)
|
boolean |
isPagebreakEncountered()
|
protected void |
performAddContent(java.lang.String text)
|
protected void |
performAddDocumentAttribute(java.lang.String name,
java.lang.Object attr)
|
protected void |
performEndDocument()
|
protected void |
performEndElement()
|
protected void |
performEndMetaInfo()
|
protected void |
performEndMetaNode()
|
protected void |
performSetAttribute(java.lang.String namespace,
java.lang.String name,
java.lang.Object attr)
|
protected void |
performSetMetaNodeAttribute(java.lang.String name,
java.lang.Object attr)
|
protected void |
performStartDocument()
|
protected void |
performStartElement(java.lang.String namespace,
java.lang.String name)
|
protected void |
performStartMetaInfo()
|
protected void |
performStartMetaNode()
|
void |
resetPageBreakFlag()
|
State |
saveState()
|
void |
setAttribute(java.lang.String namespace,
java.lang.String name,
java.lang.Object attr)
|
void |
setMetaNodeAttribute(java.lang.String name,
java.lang.Object attr)
Defines an attribute for the meta-nodes. |
void |
startDocument()
Starts the document processing. |
void |
startElement(java.lang.String namespace,
java.lang.String name)
|
void |
startMetaInfo()
Signals, that meta-data follows. |
void |
startMetaNode()
Starts a new meta-node structure. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DOCUMENT_STARTING
public static final int META_EXPECTED
public static final int META_PROCESSING
public static final int META_NODE_START
public static final int META_NODE_ATTRIBUTES
public static final int ELEMENT_EXPECTED
public static final int ELEMENT_STARTED
public static final int ELEMENT_ATTRIBUTES
public static final int ELEMENT_CONTENT
public static final int DOCUMENT_FINISHED
| Constructor Detail |
|---|
public DefaultInputFeed(LayoutProcess process)
protected DefaultInputFeed(LayoutProcess process,
boolean init)
| Method Detail |
|---|
public void resetPageBreakFlag()
resetPageBreakFlag in interface InputFeed
public void handlePageBreakEncountered(CSSValue pageName,
PseudoPage[] pseudoPages)
throws NormalizationException
handlePageBreakEncountered in interface InputFeedNormalizationExceptionpublic boolean isPagebreakEncountered()
isPagebreakEncountered in interface InputFeedpublic final void startDocument()
InputFeed
startDocument in interface InputFeedprotected void performStartDocument()
public final void startMetaInfo()
InputFeed
startMetaInfo in interface InputFeedprotected void performStartMetaInfo()
public final void addDocumentAttribute(java.lang.String name,
java.lang.Object attr)
InputFeed
addDocumentAttribute in interface InputFeed
protected void performAddDocumentAttribute(java.lang.String name,
java.lang.Object attr)
public void startMetaNode()
InputFeed
startMetaNode in interface InputFeedprotected void performStartMetaNode()
public final void setMetaNodeAttribute(java.lang.String name,
java.lang.Object attr)
InputFeed
setMetaNodeAttribute in interface InputFeed
protected void performSetMetaNodeAttribute(java.lang.String name,
java.lang.Object attr)
public void endMetaNode()
endMetaNode in interface InputFeedprotected void performEndMetaNode()
public final void endMetaInfo()
throws InputFeedException
endMetaInfo in interface InputFeedInputFeedExceptionpublic NamespaceCollection getNamespaceCollection()
getNamespaceCollection in interface InputFeed
protected void performEndMetaInfo()
throws InputFeedException
InputFeedException
public final void startElement(java.lang.String namespace,
java.lang.String name)
throws InputFeedException
startElement in interface InputFeedInputFeedException
protected void performStartElement(java.lang.String namespace,
java.lang.String name)
public final void setAttribute(java.lang.String namespace,
java.lang.String name,
java.lang.Object attr)
setAttribute in interface InputFeed
protected void performSetAttribute(java.lang.String namespace,
java.lang.String name,
java.lang.Object attr)
public final void addContent(java.lang.String text)
throws InputFeedException
addContent in interface InputFeedInputFeedException
protected void performAddContent(java.lang.String text)
throws InputFeedException,
java.io.IOException,
NormalizationException
InputFeedException
java.io.IOException
NormalizationException
public final void endElement()
throws InputFeedException
endElement in interface InputFeedInputFeedException
protected void performEndElement()
throws java.io.IOException,
NormalizationException
java.io.IOException
NormalizationException
public final void endDocument()
throws InputFeedException
endDocument in interface InputFeedInputFeedException
protected void performEndDocument()
throws java.io.IOException,
NormalizationException
java.io.IOException
NormalizationExceptionprotected LayoutProcess getProcess()
protected int getState()
public Normalizer getNormalizer()
public State saveState()
throws StateException
saveState in interface StatefullComponentStateExceptionpublic Normalizer getCurrentNormalizer()
getCurrentNormalizer in interface InputFeed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||