public final class SlidePart extends JaxbPmlPart<Sld>
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
COLOR_MAPPING, COMMON_SLIDE_DATA, random
binder
jaxbElement, jc
contentType, partName, relationships
Constructor and Description |
---|
SlidePart() |
SlidePart(PartName partName) |
Modifier and Type | Method and Description |
---|---|
static Sld |
createSld() |
NotesSlidePart |
getNotesSlidePart() |
ResolvedLayout |
getResolvedLayout() |
SlideLayoutPart |
getSlideLayoutPart() |
void |
init() |
void |
marshal(OutputStream os,
Object namespacePrefixMapper)
Marshal the content tree rooted at jaxbElement into an output
stream
|
boolean |
setPartShortcut(Part part) |
boolean |
setPartShortcut(Part part,
String relationshipType)
Tell the source Part about this target Part, so the
source can use this part via a convenience method.
|
Sld |
unmarshal(Element el) |
Sld |
unmarshal(InputStream is)
Unmarshal XML data from the specified InputStream and return the
resulting content tree.
|
getSlideId, getSlideLayoutOrMasterId, newPartForContentType
createBinderAndJaxbElement, getBinder, getJAXBAssociationsForXPath, getJAXBAssociationsForXPath, getJAXBNodesViaXPath, getJAXBNodesViaXPath, setJaxbElement
getContents, getJAXBContext, getJaxbElement, getXML, isContentEqual, isUnmarshalled, marshal, marshal, marshal, setContents, setJAXBContext, setJaxbElement, setMceIgnorable, variableReplace
getContentLengthAsLoaded, getOwningRelationshipPart, getPackage, getRelationshipType, getSourceRelationship, getSourceRelationships, getVersion, setContentLengthAsLoaded, setOwningRelationshipPart, setPackage, setPartName, setRelationshipType, setSourceRelationship, setVersion
addTargetPart, addTargetPart, addTargetPart, addTargetPart, getContentType, getPartName, getRelationshipsPart, getRelationshipsPart, getUserData, setContentType, setRelationships, setUserData
public SlidePart(PartName partName) throws InvalidFormatException
InvalidFormatException
public SlidePart() throws InvalidFormatException
InvalidFormatException
public void init()
public static Sld createSld() throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public ResolvedLayout getResolvedLayout()
public void marshal(OutputStream os, Object namespacePrefixMapper) throws javax.xml.bind.JAXBException
marshal
in class JaxbXmlPart<Sld>
os
- XML will be added to this stream.namespacePrefixMapper
- namespacePrefixMapperjavax.xml.bind.JAXBException
- If any unexpected problem occurs during the marshalling.public Sld unmarshal(InputStream is) throws javax.xml.bind.JAXBException
Implements Unmarshal Global Root Element.
unmarshal
in class JaxbXmlPartXPathAware<Sld>
is
- the InputStream to unmarshal XML data fromjavax.xml.bind.JAXBException
- If any unexpected errors occur while unmarshallingpublic Sld unmarshal(Element el) throws javax.xml.bind.JAXBException
unmarshal
in class JaxbXmlPartXPathAware<Sld>
javax.xml.bind.JAXBException
public boolean setPartShortcut(Part part)
public boolean setPartShortcut(Part part, String relationshipType)
Base
setPartShortcut
in class Part
public NotesSlidePart getNotesSlidePart()
public SlideLayoutPart getSlideLayoutPart()
Copyright © 2007-2014. All Rights Reserved.