public class XRefFragment extends FragmentBase implements PSMLFragment
Constructor and Description |
---|
XRefFragment(String id)
Creates a new XRef fragment with the specified ID.
|
XRefFragment(String id,
String type)
Creates a new XRef fragment with the specified ID and type.
|
Modifier and Type | Method and Description |
---|---|
void |
add(PSXRef x)
Adds an XRef to the fragment.
|
List<PSXRef> |
getXRefs() |
void |
setXRefs(List<PSXRef> xrefs)
Set the list of XRefs in this fragment
|
void |
toXML(org.pageseeder.xmlwriter.XMLWriter psml) |
id, toPSML, type
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
id, toPSML, type
public XRefFragment(String id)
id
- The fragment ID.public void setXRefs(List<PSXRef> xrefs)
xrefs
- list of XRefspublic void add(PSXRef x)
x
- The XRef to add.public void toXML(org.pageseeder.xmlwriter.XMLWriter psml) throws IOException
toXML
in interface org.pageseeder.xmlwriter.XMLWritable
IOException
Copyright © 2016 Allette Systems. All rights reserved.